From d690f6255ce62210091ef12cf5db74ea141d087c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 15 Oct 2009 23:37:34 +0200 Subject: [PATCH] tests: update fsck.ismounted test The latest version of the lib/test_ismounted binary returns absolute mountpoint path too. This patch removes the path from test output (the path is variable). Signed-off-by: Karel Zak --- tests/ts/fsck/ismounted | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ts/fsck/ismounted b/tests/ts/fsck/ismounted index 3279ddfd..6f049f7a 100755 --- a/tests/ts/fsck/ismounted +++ b/tests/ts/fsck/ismounted @@ -37,7 +37,7 @@ ts_device_has "TYPE" "ext3" $DEVICE || ts_die "Cannot found ext3 on $DEVICE" $DE $TS_CMD_MOUNT $DEVICE $TS_MOUNTPOINT >> $TS_OUTPUT 2>&1 # test by ismounted.c -$TS_HELPER_ISMOUNTED $DEVICE >> $TS_OUTPUT 2>&1 +$TS_HELPER_ISMOUNTED $DEVICE | awk '{print $1}' >> $TS_OUTPUT 2>&1 $TS_CMD_UMOUNT $DEVICE || ts_die "Cannot umount $DEVICE" $DEVICE -- 2.39.5