[Top] [All Lists]

[PATCH] common: use a relative path to fsstress

To: xfs@xxxxxxxxxxx
Subject: [PATCH] common: use a relative path to fsstress
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>
Date: Sun, 4 May 2014 03:45:10 -0700
Delivered-to: xfs@xxxxxxxxxxx
Sender: Christoph Hellwig <hch@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
All commands run as $qa_user should use a relative path so that
missing access permissions on $HOME for root don't prevent running
it.  This fixes common/233 for me.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

--- a/common/config
+++ b/common/config
@@ -134,7 +134,7 @@ export MOUNT_PROG="`set_prog_path mount`"
 export UMOUNT_PROG="`set_prog_path umount`"
 [ "$UMOUNT_PROG" = "" ] && _fatal "umount not found"
-export FSSTRESS_PROG="`set_prog_path fsstress $PWD/ltp/fsstress`"
+export FSSTRESS_PROG="./ltp/fsstress"
 [ "$FSSTRESS_PROG" = "" ] && _fatal "fsstress not found"
 export PERL_PROG="`set_prog_path perl`"

<Prev in Thread] Current Thread [Next in Thread>