* [PATCH] xfstests: make sure $seq.full files don't land in /
@ 2010-04-14 16:31 Eric Sandeen
2010-04-15 16:17 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2010-04-14 16:31 UTC (permalink / raw)
To: xfs-oss
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>
---
diff --git a/186 b/186
index 94d399a..643f4b1 100755
--- 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 0d0b294..d8301d5 100755
--- 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`
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfstests: make sure $seq.full files don't land in /
2010-04-14 16:31 [PATCH] xfstests: make sure $seq.full files don't land in / Eric Sandeen
@ 2010-04-15 16:17 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2010-04-15 16:17 UTC (permalink / raw)
To: Eric Sandeen; +Cc: xfs-oss
On Wed, Apr 14, 2010 at 11:31:34AM -0500, Eric Sandeen wrote:
> 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>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-15 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14 16:31 [PATCH] xfstests: make sure $seq.full files don't land in / Eric Sandeen
2010-04-15 16:17 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.