1#!/bin/sh 2 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). 6 7test_name=isis-seg-fault-1-v 8 9if [ ! -f ../Makefile ] 10then 11 printf ' %-35s: TEST SKIPPED (no Makefile)\n' $test_name 12elif grep '^CC = .*gcc' ../Makefile >/dev/null 13then 14 ./TESTonce $test_name isis-seg-fault-1.pcap isis-seg-fault-1-v.out '-t -v' 15else 16 printf ' %-35s: TEST SKIPPED (compiler is not GCC)\n' $test_name 17fi 18