Merge pull request #307 from Mic92/coverage

increase test coverage
This commit is contained in:
Jörg Thalheim
2021-08-28 05:11:09 +01:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -35,7 +35,8 @@ src_TESTS = \
endianness.sh \ endianness.sh \
contiguous-note-sections.sh \ contiguous-note-sections.sh \
no-gnu-hash.sh \ no-gnu-hash.sh \
no-dynamic-section.sh no-dynamic-section.sh \
basic-flags.sh
build_TESTS = \ build_TESTS = \
$(no_rpath_arch_TESTS) $(no_rpath_arch_TESTS)

6
tests/basic-flags.sh Executable file
View File

@@ -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