diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2012-03-16 13:00:05 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2012-03-16 13:00:05 +0000 |
commit | 351be15dc481a130ca880121b53f849e1053c687 (patch) | |
tree | 953399bafee31d9bc34e82166efefcfb44e1e7f1 /test/shell/test-partition.sh | |
parent | cce2475889ae32e8bfff6d35dc797e6054372120 (diff) | |
download | lvm2-351be15dc481a130ca880121b53f849e1053c687.tar.gz lvm2-351be15dc481a130ca880121b53f849e1053c687.tar.xz lvm2-351be15dc481a130ca880121b53f849e1053c687.zip |
Update tests
Indent
Shell improvements - use internal function for checks
Use PVs in "" (LV and VG cannot have spaces)
Several test very starting 'dmeventd' without annoucing
it via prepade_dmeventd.
Fix some of test actually.
Diffstat (limited to 'test/shell/test-partition.sh')
-rw-r--r-- | test/shell/test-partition.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/shell/test-partition.sh b/test/shell/test-partition.sh index f5ccb8d8..f7e91b80 100644 --- a/test/shell/test-partition.sh +++ b/test/shell/test-partition.sh @@ -14,17 +14,18 @@ # excercises partition table scanning code path # -which sfdisk || exit 200 LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]" . lib/test +which sfdisk || skip + aux prepare_pvs 1 30 -pvs +pvs "$dev1" # create small partition table -echo "1 2" | sfdisk $dev1 +echo "1 2" | sfdisk "$dev1" -pvs +pvs "$dev1" |