mirror of
https://github.com/utoni/nDPId.git
synced 2026-05-06 03:45:27 +00:00
travis-ci build CMake project
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
0c034ffba1
commit
a0fa598cee
5 changed files with 31 additions and 14 deletions
|
|
@ -68,6 +68,12 @@ mkdir -p /tmp/nDPId-test-stderr
|
|||
set +e
|
||||
TESTS_FAILED=0
|
||||
|
||||
${nDPId_test_EXEC} -h 2>/dev/null
|
||||
if [ $? -ne 1 ]; then
|
||||
printf '%s\n' "nDPId-test: ${nDPId_test_EXEC} seems to be an invalid executable"
|
||||
exit 7
|
||||
fi
|
||||
|
||||
for pcap_file in $(ls *.pcap *.pcapng *.cap); do
|
||||
if file "${pcap_file}" | grep -qoE ':\s(pcap|pcap-ng) capture file'; then
|
||||
true # pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue