public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p
@ 2010-03-08 17:15 Eric Sandeen
  2010-03-12 10:01 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2010-03-08 17:15 UTC (permalink / raw)
  To: xfs-oss; +Cc: Lukas Czerner

From: Lukas Czerner <lczerner@redhat.com>

The addition of "-p" to blkid calls broke xfstests
on older systems where this was not supported.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

---
 common |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common b/common
index 9679b15..828563d 100644
--- a/common
+++ b/common
@@ -47,7 +47,7 @@ rm -f $tmp.list $tmp.tmp $tmp.sed
 # Autodetect fs type based on what's on $TEST_DEV
 if [ "$HOSTOS" == "Linux" ]
 then
-    export FSTYP=`blkid -p -s TYPE -o value $TEST_DEV`
+    export FSTYP=`blkid -c /dev/null -s TYPE -o value $TEST_DEV`
 else
     export FSTYP=xfs
 fi

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

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

end of thread, other threads:[~2010-03-12  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 17:15 [PATCH] xfstests: avoid blkid cache with -c /dev/null not -p Eric Sandeen
2010-03-12 10:01 ` Christoph Hellwig

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