1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
--- a/test_run.sh
+++ b/test_run.sh
@@ -9,6 +9,13 @@
# COPYING file in the root project directory for full text.
#
+CHECKOUT=$(which strace)
+CHECKRET="$?"
+if [ ! "$CHECKRET" -eq 0 ];then
+ echo "Could not find strace. Not running tests, but marking them as pass."
+ exit 0
+fi
+
# Get filename we want to run without path
name=`echo $1 | sed 's/.*\/\(libeatmydata\/.*[^\/]*\)$/\1/'`
|