projects
/
librseq.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Skip the tests if the rseq syscall is unavailable
[librseq.git]
/
tests
/
run_param_test.tap
diff --git
a/tests/run_param_test.tap
b/tests/run_param_test.tap
index 7ba027d28d0aad3a641ef1dad832a6bfb5613dbe..7501a6c0c13ff638ea9eaf8bdd342ad67fff4c21 100755
(executable)
--- a/
tests/run_param_test.tap
+++ b/
tests/run_param_test.tap
@@
-71,7
+71,12
@@
function do_tests_inject()
}
-plan_tests $(( 2 * 7 * 37 ))
+"$RSEQ_TESTS_BUILDDIR"/param_test -c
+if [[ $? == 2 ]]; then
+ plan_skip_all "The rseq syscall is unavailable"
+else
+ plan_tests $(( 2 * 7 * 37 ))
+fi
diag "Default parameters"
do_tests
This page took
0.023389 seconds
and
4
git commands to generate.