projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dba87f
)
xfstests: avoid blkid cache with -c /dev/null not -p
author
Lukas Czerner
<lczerner@redhat.com>
Fri, 12 Mar 2010 15:26:38 +0000
(09:26 -0600)
committer
Eric Sandeen
<sandeen@sandeen.net>
Fri, 12 Mar 2010 15:26:38 +0000
(09:26 -0600)
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
common
patch
|
blob
|
history
diff --git
a/common
b/common
index 9679b15d6a936bd40fe3310ff391a0178716eda6..828563ded285d0d4cc1fdbfa20589161d1fbb71c 100644
(file)
--- 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