summaryrefslogtreecommitdiffstats
path: root/tests/run-disasm-x86-64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-disasm-x86-64.sh')
-rwxr-xr-xtests/run-disasm-x86-64.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh
index 2d9ed631..01803c0a 100755
--- a/tests/run-disasm-x86-64.sh
+++ b/tests/run-disasm-x86-64.sh
@@ -26,7 +26,7 @@
. $srcdir/test-subr.sh
# Run x86-64 test.
-case "$(arch)" in
+case "`uname -m`" in
x86_64)
tempfiles testfile45.o
testfiles testfile45.S testfile45.expect