xfstests: 125: run ftrunc with relative path

Since ftrunc is invoked with su $qa_user, it can fail when absolute path
is not accessible to everyone.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
This commit is contained in:
Lukas Czerner
2010-04-16 10:50:01 -05:00
committed by Eric Sandeen
parent b90c485fd0
commit 9a496ba1f8
+1 -1
View File
@@ -61,7 +61,7 @@ touch $TESTFILE
chmod a+rw $TESTDIR
chmod a+rw $TESTFILE
su $qa_user -c "$here/src/ftrunc -f $TESTFILE"
su $qa_user -c "./src/ftrunc -f $TESTFILE"
if [ "$?" != "0" ]; then
echo src/ftrunc returned non 0 status!