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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Amir Goldstein <amir73il@xxxxxxxxxxxx>

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@xxxxxxxxx>
Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxxxxx>
---
 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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux