at 22.05-pre 31 lines 733 B view raw
1diff --git a/test/run b/test/run 2index 9623e49d..3df1c5a8 100755 3--- a/test/run 4+++ b/test/run 5@@ -126,23 +126,17 @@ file_size() { 6 objdump_cmd() { 7 local file="$1" 8 9- if $HOST_OS_APPLE; then 10- xcrun dwarfdump -r 0 "$file" 11- elif $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then 12+ if $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then 13 # For some reason objdump only shows the basename of the file, so fall 14 # back to brute force and ignorance. 15 strings "$1" 16 else 17- objdump -W "$file" 18+ @objdump@ -W "$file" 19 fi 20 } 21 22 objdump_grep_cmd() { 23- if $HOST_OS_APPLE; then 24- fgrep -q "\"$1\"" 25- else 26- fgrep -q ": $1" 27- fi 28+ fgrep -q ": $1" 29 } 30 31 expect_stat() {