diff options
author | Ruediger Meier | 2015-03-31 14:35:07 +0200 |
---|---|---|
committer | Ruediger Meier | 2015-04-14 13:18:43 +0200 |
commit | f1849be96a2f3baff3a7c3776be2d02af20bea81 (patch) | |
tree | 5c2c7e4c0b9b163f281726b6723fe561eb493b29 /tests/ts/cramfs | |
parent | tests: scsi_debug tests, don't call ts_die() with DEVICE parameter (diff) | |
download | kernel-qcow2-util-linux-f1849be96a2f3baff3a7c3776be2d02af20bea81.tar.gz kernel-qcow2-util-linux-f1849be96a2f3baff3a7c3776be2d02af20bea81.tar.xz kernel-qcow2-util-linux-f1849be96a2f3baff3a7c3776be2d02af20bea81.zip |
tests: loop tests, don't call ts_die() with DEVICE parameter
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/cramfs')
-rwxr-xr-x | tests/ts/cramfs/mkfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/cramfs/mkfs b/tests/ts/cramfs/mkfs index a5a3bf565..eff9d455c 100755 --- a/tests/ts/cramfs/mkfs +++ b/tests/ts/cramfs/mkfs @@ -90,13 +90,13 @@ ts_register_loop_device "$DEVICE" ts_log "check the image" ts_device_has "TYPE" "cramfs" $DEVICE -[ "$?" == "0" ] || ts_die "Cannot find cramfs on $DEVICE" $DEVICE +[ "$?" == "0" ] || ts_die "Cannot find cramfs on $DEVICE" ts_log "mount the image" ts_mount "cramfs" -r -L $LABEL $TS_MOUNTPOINT # check it -ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" $DEVICE +ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" ts_cd "$TS_MOUNTPOINT" |