public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: filter 203 mount point
@ 2010-03-24  3:27 Eric Sandeen
  2010-03-24 15:45 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2010-03-24  3:27 UTC (permalink / raw)
  To: xfs-oss

Right now this only works if TEST_DIR == /mnt/test

diff --git a/203 b/203
index 174bdae..80c449d 100755
--- a/203
+++ b/203
@@ -48,6 +48,7 @@ _write_holes()
 #       1: [8..2047]: hole
 _filter_bmap()
 {
+	sed "s#$TEST_DIR#TEST_DIR#g" | \
 	awk '$3 ~ /hole/ { print $1, $2, $3; next }
              {print $1, $2; next}'
 }
diff --git a/203.out b/203.out
index 1b1bddc..1694457 100644
--- a/203.out
+++ b/203.out
@@ -1,5 +1,5 @@
 QA output created by 203
-/mnt/test/hole_file10: 
+TEST_DIR/hole_file10: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -24,7 +24,7 @@ QA output created by 203
 21: [20488..22527]: hole
 22: [22528..22535]:
 
-/mnt/test/hole_file14: 
+TEST_DIR/hole_file14: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -57,7 +57,7 @@ QA output created by 203
 29: [28680..30719]: hole
 30: [30720..30727]:
 
-/mnt/test/hole_file15: 
+TEST_DIR/hole_file15: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -92,7 +92,7 @@ QA output created by 203
 31: [30728..32767]: hole
 32: [32768..32775]:
 
-/mnt/test/hole_file16: 
+TEST_DIR/hole_file16: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -129,7 +129,7 @@ QA output created by 203
 33: [32776..34815]: hole
 34: [34816..34823]:
 
-/mnt/test/hole_file17: 
+TEST_DIR/hole_file17: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -168,7 +168,7 @@ QA output created by 203
 35: [34824..36863]: hole
 36: [36864..36871]:
 
-/mnt/test/hole_file28: 
+TEST_DIR/hole_file28: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -229,7 +229,7 @@ QA output created by 203
 57: [57352..59391]: hole
 58: [59392..59399]:
 
-/mnt/test/hole_file29: 
+TEST_DIR/hole_file29: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -292,7 +292,7 @@ QA output created by 203
 59: [59400..61439]: hole
 60: [61440..61447]:
 
-/mnt/test/hole_file30: 
+TEST_DIR/hole_file30: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:
@@ -357,7 +357,7 @@ QA output created by 203
 61: [61448..63487]: hole
 62: [63488..63495]:
 
-/mnt/test/hole_file31: 
+TEST_DIR/hole_file31: 
 0: [0..7]:
 1: [8..2047]: hole
 2: [2048..2055]:

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] xfstests: filter 203 mount point
  2010-03-24  3:27 [PATCH] xfstests: filter 203 mount point Eric Sandeen
@ 2010-03-24 15:45 ` Christoph Hellwig
  2010-03-24 16:08   ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2010-03-24 15:45 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs-oss

On Tue, Mar 23, 2010 at 10:27:16PM -0500, Eric Sandeen wrote:
> Right now this only works if TEST_DIR == /mnt/test

Looks good,


Reviewed-by: Christoph Hellwig <hch@lst.de>

btw, this was missing a signoff.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] xfstests: filter 203 mount point
  2010-03-24 15:45 ` Christoph Hellwig
@ 2010-03-24 16:08   ` Eric Sandeen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2010-03-24 16:08 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs-oss

On 03/24/2010 10:45 AM, Christoph Hellwig wrote:
> On Tue, Mar 23, 2010 at 10:27:16PM -0500, Eric Sandeen wrote:
>> Right now this only works if TEST_DIR == /mnt/test
> 
> Looks good,
> 
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> 
> btw, this was missing a signoff.
> 

yep was too late last night ;)  will add it.

Thanks,
-Eric

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-24 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24  3:27 [PATCH] xfstests: filter 203 mount point Eric Sandeen
2010-03-24 15:45 ` Christoph Hellwig
2010-03-24 16:08   ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox