From: Roland McGrath Date: Fri, 22 Feb 2008 08:14:07 +0000 (+0000) Subject: tests/ X-Git-Tag: elfutils-0.133~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=658094acf8d506867e62c10f70c51f65b8f7a829;p=thirdparty%2Felfutils.git tests/ 2008-02-22 Roland McGrath * run-elflint-test.sh: Typo fix. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index f4bedcb40..82fcc12ae 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,13 @@ +2008-02-22 Roland McGrath + + * run-elflint-test.sh: Typo fix. + +2008-02-21 Roland McGrath + + * 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 * testfile46.bz2: New data file. diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh index 2d9ed631f..01803c0a9 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 efbb81f82..efd734c02 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 9f45d51eb..e0e1c547d 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