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
|