[PATCH 3/5] xfstests 198, 240: added check for aiodio-sparse2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tom Marek <tmarek@xxxxxxxxxx>

Tests number 198 and 240 could fail when aiodio-sparse2 was not build.
Check whether aiodio-sparse is built was added to both tests.

Signed-off-by: Tom Marek <tmarek@xxxxxxxxxx>

Reviewed-by: Lukas Czerner <lczerner@xxxxxxxxxx>
---
 198 |    2 ++
 240 |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/198 b/198
index e46ec8d..b9b47b2 100755
--- a/198
+++ b/198
@@ -45,6 +45,8 @@ _cleanup()
 _supported_fs generic
 _supported_os Linux
 
+[-x $here/src/aio-dio-regress/aiodio_sparse2] || _notrun "src/aio-dio-regress/aiodio_sparse2 not built"
+
 echo "Silence is golden."
 
 # real QA test starts here
diff --git a/240 b/240
index 563449e..5a563ca 100755
--- a/240
+++ b/240
@@ -53,6 +53,8 @@ _supported_os Linux
 
 _require_sparse_files
 
+[-x $here/src/aio-dio-regress/aiodio_sparse2] || _notrun "src/aio-dio-regress/aiodio_sparse2 not built"
+
 echo "Silence is golden."
 
 # real QA test starts here
-- 
1.7.7.6

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


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux