summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-08-28 05:11:09 +0100
committerGitHub <noreply@github.com>2021-08-28 05:11:09 +0100
commit07dfd67eb1ba83e0a3b51cb488abc93fba599500 (patch)
tree22f2f826d15ccc9f01f318ede7ca427b5943a2d8
parentc388c5d67a1d03b16e16ebb084cabbad77afcdeb (diff)
parent51ecac17c2d8d69c02e71b7a794ff2e65edae4d1 (diff)
downloadpatchelf-07dfd67eb1ba83e0a3b51cb488abc93fba599500.tar.gz
Merge pull request #307 from Mic92/coverage
increase test coverage
-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