[PATCH] 125 run ftrunc with relative path

Lukas Czerner lczerner at redhat.com
Tue Apr 13 12:34:07 CDT 2010


Since ftrunc is invoked with su $qa_user, it can fail when absolute path
is not accessible to everyone.
---
 125 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/125 b/125
index e84109a..9a29941 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!
-- 
1.6.6.1




More information about the xfs mailing list