From cf6784deeb092e44ca732e3d77dfa06745f69aa9 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Thu, 15 May 2014 17:01:00 +0200 Subject: tests: use ts_mount for cramfs Signed-off-by: Ruediger Meier --- tests/ts/cramfs/doubles | 2 +- tests/ts/cramfs/mkfs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ts') 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 -- cgit v1.2.3-55-g7522