From: Lukas Czerner Date: Fri, 16 Apr 2010 15:50:01 +0000 (-0500) Subject: xfstests: 125: run ftrunc with relative path X-Git-Tag: v1.1.0~176 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9a496ba1f814661ba414ebff3a4a80112feeda41;p=xfstests-dev.git 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 Reviewed-by: Eric Sandeen --- diff --git a/125 b/125 index e84109a4..9a29941e 100755 --- a/125 +++ b/125 @@ -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!