xfstests: avoid blkid cache with -c /dev/null not -p
PATCH 1/1 xfstests: avoid blkid cache with -c /dev/null not -p
From: Lukas Czerner <[email protected]>
The addition of "-p" to blkid calls broke xfstests on older systems where this was not supported.
Signed-off-by Eric Sandeen <[email protected]>
--- common | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common +1 -1
@@ -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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 6 lines · Eric Sandeen
From: Lukas Czerner <[email protected]>
The addition of "-p" to blkid calls broke xfstests on older systems where this was not supported.
Signed-off-by Eric Sandeen <[email protected]>
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs