summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile.am3
-rwxr-xr-xtests/basic-flags.sh6
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 90fe906..46589ea 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -35,7 +35,8 @@ src_TESTS = \
endianness.sh \
contiguous-note-sections.sh \
no-gnu-hash.sh \
- no-dynamic-section.sh
+ no-dynamic-section.sh \
+ basic-flags.sh
build_TESTS = \
$(no_rpath_arch_TESTS)
diff --git a/tests/basic-flags.sh b/tests/basic-flags.sh
new file mode 100755
index 0000000..998fd04
--- /dev/null
+++ b/tests/basic-flags.sh
@@ -0,0 +1,6 @@
+#! /bin/sh -e
+
+set -x
+../src/patchelf --version | grep -q patchelf
+../src/patchelf --help 2>&1 | grep -q patchelf
+../src/patchelf 2>&1 | grep -q patchelf