3 # This "verbose" ISIS protocol test involves a float calculation that
4 # may produce a slightly different result if the compiler is not GCC.
5 # Test only with GCC (similar to GitHub issue #333).
8 test_name=isis-seg-fault-1-v
10 if [ ! -f ../Makefile ]
12 printf ' %-35s: TEST SKIPPED (no Makefile)\n' $test_name
13 elif grep '^CC = .*gcc' ../Makefile >/dev/null
17 if ./TESTonce $test_name isis-seg-fault-1.pcap isis-seg-fault-1-v.out '-v'
19 passed=`expr $passed + 1`
22 failed=`expr $failed + 1`
27 printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' $test_name