From: Ruediger Meier Date: Tue, 31 Mar 2015 12:23:30 +0000 (+0200) Subject: tests: scsi_debug tests, don't call ts_die() with DEVICE parameter X-Git-Tag: v2.26.2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4dc4d45e8380a3b9c0b12163b00626eee5f603b7;p=thirdparty%2Futil-linux.git tests: scsi_debug tests, don't call ts_die() with DEVICE parameter This was almost useless anyway. Signed-off-by: Ruediger Meier --- diff --git a/tests/ts/libmount/context b/tests/ts/libmount/context index 6de160bead..5037c72eb5 100755 --- a/tests/ts/libmount/context +++ b/tests/ts/libmount/context @@ -81,7 +81,7 @@ function is_mounted { udevadm settle -ts_device_has "TYPE" "ext4" $DEVICE || ts_die "Cannot find ext3 on $DEVICE" $DEVICE +ts_device_has "TYPE" "ext4" $DEVICE || ts_die "Cannot find ext3 on $DEVICE" ts_init_subtest "mount-by-devname" diff --git a/tests/ts/libmount/context-py b/tests/ts/libmount/context-py index 4db2ac12df..21bbbe63ca 100755 --- a/tests/ts/libmount/context-py +++ b/tests/ts/libmount/context-py @@ -83,7 +83,7 @@ function is_mounted { udevadm settle -ts_device_has "TYPE" "ext4" $DEVICE || ts_die "Cannot find ext3 on $DEVICE" $DEVICE +ts_device_has "TYPE" "ext4" $DEVICE || ts_die "Cannot find ext3 on $DEVICE" ts_init_subtest "mount-by-devname" diff --git a/tests/ts/libmount/tabfiles-tags b/tests/ts/libmount/tabfiles-tags index 15696b0765..662d38b6c6 100755 --- a/tests/ts/libmount/tabfiles-tags +++ b/tests/ts/libmount/tabfiles-tags @@ -24,10 +24,10 @@ UUID="de1bc6e9-34ab-4151-a1d7-900042eee8d9" # # Create filesystem # -mkfs.ext3 -F -L $LABEL $TS_DEVICE -U $UUID &> /dev/null || ts_die "Cannot make ext3 on $TS_DEVICE" $TS_DEVICE +mkfs.ext3 -F -L $LABEL $TS_DEVICE -U $UUID &> /dev/null || ts_die "Cannot make ext3 on $TS_DEVICE" udevadm settle -ts_device_has_uuid $TS_DEVICE || ts_die "Cannot find UUID on $TS_DEVICE" $TS_DEVICE +ts_device_has_uuid $TS_DEVICE || ts_die "Cannot find UUID on $TS_DEVICE" FSTAB="$TS_OUTDIR/fstab" diff --git a/tests/ts/libmount/tabfiles-tags-py b/tests/ts/libmount/tabfiles-tags-py index d6ca470fb4..47efa70e1d 100755 --- a/tests/ts/libmount/tabfiles-tags-py +++ b/tests/ts/libmount/tabfiles-tags-py @@ -27,10 +27,10 @@ UUID="de1bc6e9-34ab-4151-a1d7-900042eee8d9" # # Create filesystem # -mkfs.ext3 -F -L $LABEL $TS_DEVICE -U $UUID &> /dev/null || ts_die "Cannot make ext3 on $TS_DEVICE" $TS_DEVICE +mkfs.ext3 -F -L $LABEL $TS_DEVICE -U $UUID &> /dev/null || ts_die "Cannot make ext3 on $TS_DEVICE" udevadm settle -ts_device_has_uuid $TS_DEVICE || ts_die "Cannot find UUID on $TS_DEVICE" $TS_DEVICE +ts_device_has_uuid $TS_DEVICE || ts_die "Cannot find UUID on $TS_DEVICE" FSTAB="$TS_OUTDIR/fstab"