summaryrefslogtreecommitdiff
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
parent059c83e5db89955913a39fe6705acca571c32c3f (diff)
downloadelfutils-658094acf8d506867e62c10f70c51f65b8f7a829.tar.gz
tests/
2008-02-22 Roland McGrath <roland@redhat.com> * run-elflint-test.sh: Typo fix.
-rw-r--r--tests/ChangeLog10
-rwxr-xr-xtests/run-disasm-x86-64.sh2
-rwxr-xr-xtests/run-disasm-x86.sh4
-rwxr-xr-xtests/run-elflint-test.sh4
4 files changed, 15 insertions, 5 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index f4bedcb4..82fcc12a 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,13 @@
+2008-02-22 Roland McGrath <roland@redhat.com>
+
+ * run-elflint-test.sh: Typo fix.
+
+2008-02-21 Roland McGrath <roland@redhat.com>
+
+ * run-disasm-x86.sh: Use uname instead of arch, keep tools required
+ for the build down to minimum.
+ * run-disasm-x86-64.sh: Likewise.
+
2008-02-20 Roland McGrath <roland@redhat.com>
* testfile46.bz2: New data file.
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
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
diff --git a/tests/run-elflint-test.sh b/tests/run-elflint-test.sh
index 9f45d51e..e0e1c547 100755
--- a/tests/run-elflint-test.sh
+++ b/tests/run-elflint-test.sh
@@ -41,7 +41,7 @@ testrun ../src/elflint -q testfile33
testfiles testfile42
testrun ../src/elflint -q --gnu-ld testfile42
-testfiles testfile47
-testrun ../src/elflint -q testfile47
+testfiles testfile46
+testrun ../src/elflint -q testfile46
exit 0