All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: xfs-oss <xfs@oss.sgi.com>
Subject: [PATCH] xfstests: filter 203 mount point
Date: Tue, 23 Mar 2010 22:27:16 -0500	[thread overview]
Message-ID: <4BA98694.2070506@sandeen.net> (raw)

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

             reply	other threads:[~2010-03-24  3:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24  3:27 Eric Sandeen [this message]
2010-03-24 15:45 ` [PATCH] xfstests: filter 203 mount point Christoph Hellwig
2010-03-24 16:08   ` Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA98694.2070506@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.