add flag tests

let's start with the easy targets from coverage reports
This commit is contained in:
Jörg Thalheim 2021-08-25 21:41:15 +00:00
parent 38cb5c8e0d
commit 51ecac17c2
2 changed files with 8 additions and 1 deletions

View File

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

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