]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests/
authorRoland McGrath <roland@redhat.com>
Fri, 22 Feb 2008 08:14:07 +0000 (08:14 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 22 Feb 2008 08:14:07 +0000 (08:14 +0000)
2008-02-22  Roland McGrath  <roland@redhat.com>

* run-elflint-test.sh: Typo fix.

tests/ChangeLog
tests/run-disasm-x86-64.sh
tests/run-disasm-x86.sh
tests/run-elflint-test.sh

index f4bedcb406143376a1396eb2c8943116132b6335..82fcc12ae940b4876b053545db5e1dd57ca4dc36 100644 (file)
@@ -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.
index 2d9ed631fc10a502c5b5dc64f00a2e9fd2862941..01803c0a937e34aaf0f288ff9496bb63b1d14b4d 100755 (executable)
@@ -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
index efbb81f822f3a7baeaeda7471d4210655358f3eb..efd734c02585a01a055f80a14e22faaf95b256c2 100755 (executable)
@@ -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
index 9f45d51ebd8455b246c1974714de021dad46418b..e0e1c547d92a98219e9521859bd964e6f1afacb0 100755 (executable)
@@ -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