[Top] [All Lists]

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

To: XFS <xfs@xxxxxxxxxxx>
Subject: [PATCH] fix hardcoded reference to /mnt/test in common.attr
From: Amir Goldstein <amir73il@xxxxxxxxx>
Date: Tue, 31 May 2011 17:21:19 +0300
Cc: sergey ivanov <sergey57@xxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=IJkQVQ2c2tdiytbtzM4bvg+5WxpqnuoQ2xGQvAbjcX8=; b=kZZ04EZdqv9oxYj/WFvHbo+aXSm5zjqdnxd6QUZeSURdVCU7rpku/V3wuNe7OnwBi1 paVyPGReRRUqBEvCAEOtWCswhwyiUCxmfFoh1UCKsGhEtbFA63xcoE4ZMUrE7PlxqDB5 j8260AhAKLEZ6BtjJ4+KthGxI6D1t7gYJ3U2A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=XbppLsqf6UczlE4vkshOQr3zyCVAr00667/EhaHXwvJcdNH3zPdwiBeVVIXqC3V99S Q5ptRNpHJ+sFZJsFN7I9UF96fkTKxbTvMOzfcS1MrobhZYoBOmCap+xQsAb+vtXZlr46 nmY5+clz5GzpZDsUb0MW3X1QYRBWpvgYAhZYk=
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

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