supermin/0001-Make-test-execstack-recognize-SKIP_-variable.patch
2014-05-19 09:52:02 +01:00

29 lines
708 B
Diff

From ab54fc307ed7864db07285ddf44bc5dec35cec7c Mon Sep 17 00:00:00 2001
From: Hilko Bengen <bengen@hilluzination.de>
Date: Sat, 10 May 2014 13:39:44 +0200
Subject: [PATCH] Make test-execstack recognize SKIP_ variable
---
tests/test-execstack.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/test-execstack.sh b/tests/test-execstack.sh
index a9cb5e0..a02803b 100755
--- a/tests/test-execstack.sh
+++ b/tests/test-execstack.sh
@@ -18,6 +18,11 @@
set -e
+if [ -n "$SKIP_TEST_EXECSTACK" ]; then
+ echo "$0: test skipped because SKIP_TEST_EXECSTACK is set."
+ exit 77
+fi
+
if scanelf --help >/dev/null 2>&1; then
echo "using scanelf"
scanelf -e ../src/supermin
--
1.9.0