| To: | fstests@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfs/279: filter scsi debug device correctly |
| From: | Eryu Guan <eguan@xxxxxxxxxx> |
| Date: | Mon, 5 Sep 2016 13:30:27 +0800 |
| Cc: | xfs@xxxxxxxxxxx, linux-xfs@xxxxxxxxxxxxxxx, Eryu Guan <eguan@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
This test assumes scsi debug device is "/dev/sd." when doing the
filter, but that isn't always true, I've seen failure like
-mkfs with opts: DEVICE
+mkfs with opts: DEVICEl
So use $SCSI_DEBUG_DEV to match the correct scsi debug device name.
Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx>
---
tests/xfs/279 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/xfs/279 b/tests/xfs/279
index cde7d21..9dee4cf 100755
--- a/tests/xfs/279
+++ b/tests/xfs/279
@@ -61,7 +61,7 @@ _wipe_device()
_check_mkfs()
{
echo "==================="
- echo "mkfs with opts: $@" | sed -e "s,/dev/sd.,DEVICE,"
+ echo "mkfs with opts: $@" | sed -e "s,$SCSI_DEBUG_DEV,DEVICE,"
$MKFS_XFS_PROG $@ 2>/dev/null > $tmp.mkfs.full
if [ $? -ne 0 ]; then
echo "Failed."
--
2.7.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re:Car badge emblems Manufacturer From China, kevinzhao@xxxxxxxxxxxxxxxxx |
|---|---|
| Next by Date: | XFS reflink and development tip git trees updated, Darrick J. Wong |
| Previous by Thread: | Re:Res:Re/Halloween mask/supply Halloween mask, sales@xxxxxxxxxxx |
| Next by Thread: | Re: [PATCH] xfs/279: filter scsi debug device correctly, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |