summaryrefslogtreecommitdiff
path: root/tests/run-disasm-x86.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-02-22 08:14:07 +0000
committerRoland McGrath <roland@redhat.com>2008-02-22 08:14:07 +0000
commit658094acf8d506867e62c10f70c51f65b8f7a829 (patch)
tree3275c4d343e3fd30dba00da26698e62a8c4804a9 /tests/run-disasm-x86.sh
parent059c83e5db89955913a39fe6705acca571c32c3f (diff)
downloadelfutils-658094acf8d506867e62c10f70c51f65b8f7a829.tar.gz
tests/
2008-02-22 Roland McGrath <roland@redhat.com> * run-elflint-test.sh: Typo fix.
Diffstat (limited to 'tests/run-disasm-x86.sh')
-rwxr-xr-xtests/run-disasm-x86.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-disasm-x86.sh b/tests/run-disasm-x86.sh
index efbb81f8..efd734c0 100755
--- a/tests/run-disasm-x86.sh
+++ b/tests/run-disasm-x86.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2007 Red Hat, Inc.
+# Copyright (C) 2007, 2008 Red Hat, Inc.
# This file is part of Red Hat elfutils.
#
# Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
. $srcdir/test-subr.sh
# Run x86 test.
-case "$(arch)" in
+case "`uname -m`" in
x86_64 | i?86 )
tempfiles testfile44.o
testfiles testfile44.S testfile44.expect