summaryrefslogtreecommitdiffstats
path: root/tests/ts/fsck
diff options
context:
space:
mode:
authorKarel Zak2009-10-15 23:37:34 +0200
committerKarel Zak2009-10-15 23:37:34 +0200
commitd690f6255ce62210091ef12cf5db74ea141d087c (patch)
tree8458b607dc7a877c77d5981d511912f28f940d30 /tests/ts/fsck
parentlibblkid: fix typo s/Hihg/High/ (diff)
downloadkernel-qcow2-util-linux-d690f6255ce62210091ef12cf5db74ea141d087c.tar.gz
kernel-qcow2-util-linux-d690f6255ce62210091ef12cf5db74ea141d087c.tar.xz
kernel-qcow2-util-linux-d690f6255ce62210091ef12cf5db74ea141d087c.zip
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 <kzak@redhat.com>
Diffstat (limited to 'tests/ts/fsck')
-rwxr-xr-xtests/ts/fsck/ismounted2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/fsck/ismounted b/tests/ts/fsck/ismounted
index 3279ddfd0..6f049f7a4 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