From 5bd114645096e8eb4cc8cd45f8cf12950d9a7ae1 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 24 Mar 2010 11:14:16 -0500 Subject: [PATCH] xfstests: filter 203 mount point Right now this only works if TEST_DIR == /mnt/test Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig --- 203 | 1 + 203.out | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/203 b/203 index 174bdae7..80c449db 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 1b1bddcf..16944576 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]: -- 2.39.5