[PATCH] fix hardcoded reference to /mnt/test in common.attr

Amir Goldstein amir73il at gmail.com
Tue May 31 09:21:19 CDT 2011


From: Amir Goldstein <amir73il at users.sf.net>

When trying to run test 70, we encountered several problems.
Sergey has strace'd some of the problems to attempts to
set xattr on the wrong test dir (/mnt/test/), which appears to be
hardcoded in common.attr.

Reported-by: Sergey Ivanov <sergey57 at gmail.com>
Signed-off-by: Amir Goldstein <amir73il at users.sf.net>
---
 common.attr |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common.attr b/common.attr
index 343edfc..37d0927 100644
--- a/common.attr
+++ b/common.attr
@@ -163,7 +163,7 @@ _require_attrs()
     # stored on disk.
     #
     touch $TEST_DIR/syscalltest
-    attr -s "user.xfstests" -V "attr" /mnt/test/ >
$TEST_DIR/syscalltest.out 2>&1
+    attr -s "user.xfstests" -V "attr" $TEST_DIR >
$TEST_DIR/syscalltest.out 2>&1
     cat $TEST_DIR/syscalltest.out >> $here/$seq.full

     if grep -q 'Function not implemented' $TEST_DIR/syscalltest.out; then
-- 
1.7.4.1




More information about the xfs mailing list