diff options
author | Karel Zak <kzak@redhat.com> | 2009-10-15 23:37:34 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-10-15 23:37:34 +0200 |
commit | d690f6255ce62210091ef12cf5db74ea141d087c (patch) | |
tree | 8458b607dc7a877c77d5981d511912f28f940d30 /tests/ts | |
parent | 23546fe13d5b8016964c6bdfb7e9524fc386e6ca (diff) | |
download | util-linux-old-d690f6255ce62210091ef12cf5db74ea141d087c.tar.gz |
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')
-rwxr-xr-x | tests/ts/fsck/ismounted | 2 |
1 files changed, 1 insertions, 1 deletions
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 |