From: Amir Goldstein Date: Tue, 31 May 2011 20:25:12 +0000 (+0900) Subject: fix hardcoded reference to /mnt/test in common.attr X-Git-Tag: v1.1.0~56 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ff65626abd582a5a1abf76f9091a5fa21fbfef16;p=xfstests-dev.git fix hardcoded reference to /mnt/test in common.attr 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 Signed-off-by: Amir Goldstein Signed-off-by: Christoph Hellwig --- diff --git a/common.attr b/common.attr index 343edfca..37d09279 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