From 658094acf8d506867e62c10f70c51f65b8f7a829 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 22 Feb 2008 08:14:07 +0000 Subject: tests/ 2008-02-22 Roland McGrath * run-elflint-test.sh: Typo fix. --- tests/ChangeLog | 10 ++++++++++ tests/run-disasm-x86-64.sh | 2 +- tests/run-disasm-x86.sh | 4 ++-- tests/run-elflint-test.sh | 4 ++-- 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 + + * 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 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 -- cgit v1.2.1