xfstests: make sure $seq.full files don't land in /
authorEric Sandeen <sandeen@sandeen.net>
Fri, 16 Apr 2010 16:36:22 +0000 (11:36 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 16 Apr 2010 16:36:22 +0000 (11:36 -0500)
186 and 192, at least, were landing (part of) their $seq.full
files in /

Fix this by using $here/$seq.full where needed.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
186
192

diff --git a/186 b/186
index 94d399a3451e797dfdf3310a021aa57e8499af3f..643f4b10a697f6f4fcfb36b07d7bbbb15f5cf2fe 100755 (executable)
--- a/186
+++ b/186
@@ -79,7 +79,7 @@ _rmv_eas()
 
 _filter_inode()
 {
-       tee -a $seq.full | \
+       tee -a $here/$seq.full | \
                sed -e "s/core.forkoff/forkoff/g" | \
                egrep '^u.sfdir2|^a.sfattr|forkoff' | \
                egrep -v 'inumber|parent'
@@ -87,7 +87,7 @@ _filter_inode()
 
 _filter_version()
 {
-       tee -a $seq.full | tr ',' '\n' | grep ATTR
+       tee -a $here/$seq.full | tr ',' '\n' | grep ATTR
 }
 
 _print_inode()
diff --git a/192 b/192
index 0d0b2944afdf8d0e0b83733a68c63a107016fb51..d8301d5f2811057da7664cd0b6a6188aa772bf8a 100755 (executable)
--- a/192
+++ b/192
@@ -68,7 +68,7 @@ time2=`_access_time $testfile | tee -a $seq.full`
 cd /
 umount $TEST_DIR
 _test_mount
-time3=`_access_time $testfile | tee -a $seq.full`
+time3=`_access_time $testfile | tee -a $here/$seq.full`
 
 delta1=`expr $time2 - $time1`
 delta2=`expr $time3 - $time1`