diff options
Diffstat (limited to 'tests/ts')
-rwxr-xr-x | tests/ts/cramfs/doubles | 2 | ||||
-rwxr-xr-x | tests/ts/cramfs/mkfs | 2 | ||||
-rwxr-xr-x | tests/ts/minix/mkfs | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/tests/ts/cramfs/doubles b/tests/ts/cramfs/doubles index 7393fc7dc..43fc60330 100755 --- a/tests/ts/cramfs/doubles +++ b/tests/ts/cramfs/doubles @@ -46,7 +46,7 @@ ts_log "create cramfs image" $TS_CMD_MKCRAMFS $IMAGE_SRC $IMAGE_PATH 2>&1 >> $TS_OUTPUT [ -s "$IMAGE_PATH" ] || ts_die "Cannot create $IMAGE_PATH" -$TS_CMD_MOUNT -r $IMAGE_PATH $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT +ts_mount "cramfs" -r $IMAGE_PATH $TS_MOUNTPOINT # check it ts_is_mounted $TS_MOUNTPOINT || ts_die "Cannot find $TS_MOUNTPOINT in /proc/mounts" diff --git a/tests/ts/cramfs/mkfs b/tests/ts/cramfs/mkfs index 70c827591..06cdfbd32 100755 --- a/tests/ts/cramfs/mkfs +++ b/tests/ts/cramfs/mkfs @@ -77,7 +77,7 @@ ts_device_has "TYPE" "cramfs" $DEVICE [ "$?" == "0" ] || ts_die "Cannot find cramfs on $DEVICE" $DEVICE ts_log "mount the image" -$TS_CMD_MOUNT -r -L $LABEL $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT +ts_mount "cramfs" -r -L $LABEL $TS_MOUNTPOINT # check it ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" $DEVICE diff --git a/tests/ts/minix/mkfs b/tests/ts/minix/mkfs index f94cb0a4d..86230f77c 100755 --- a/tests/ts/minix/mkfs +++ b/tests/ts/minix/mkfs @@ -37,8 +37,7 @@ ts_log "create mountpoint dir" [ -d "$TS_MOUNTPOINT" ] || mkdir -p $TS_MOUNTPOINT ts_log "mount the filesystem" -($TS_CMD_MOUNT $DEVICE $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT || true) \ - | grep -q "unknown filesystem type" && ts_skip "mkfs: minix fs not supported by kernel" +ts_mount "minix" $DEVICE $TS_MOUNTPOINT # check it ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" $DEVICE |