]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: scsi_debug tests, don't call ts_die() with DEVICE parameter
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 31 Mar 2015 12:23:30 +0000 (14:23 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 14 Apr 2015 11:18:42 +0000 (13:18 +0200)
This was almost useless anyway.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/ts/libmount/context
tests/ts/libmount/context-py
tests/ts/libmount/tabfiles-tags
tests/ts/libmount/tabfiles-tags-py

index 7acfb9cdf86e1bf6a9b96bb1495a4d0e4939eecc..373e1d3d1468f2f3d3d726974c1c1f6f2d5e7e95 100755 (executable)
@@ -65,7 +65,7 @@ export LIBMOUNT_MTAB=$TS_OUTPUT.mtab
 > $LIBMOUNT_MTAB
 
 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"
 mkdir -p $MOUNTPOINT &>  /dev/null
index b2355a7955c6d766fd7e16a574c1ce4e60c877c8..94c0d071b415fa235d4c3b25b2b7f48729207763 100755 (executable)
@@ -67,7 +67,7 @@ export LIBMOUNT_MTAB=$TS_OUTPUT.mtab
 > $LIBMOUNT_MTAB
 
 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"
 mkdir -p $MOUNTPOINT &>  /dev/null
index 15696b076518a614b5fab49d3ec5724b6e0a76b2..662d38b6c604dd521b70cc8ba2ae1aafb6f37bdc 100755 (executable)
@@ -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"
 
index d6ca470fb4049ce52a17156d388fc8a02f7108f6..47efa70e1d8fb477de8b53fac4cfefdae74f6cd2 100755 (executable)
@@ -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"