From a513f8bec2a8be13196960372b477231af8f76a2 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 11 Jan 2017 11:26:26 -0800 Subject: Fix test cases to work for i386. gold/ PR gold/21039 * testsuite/script_test_13.sh: Adjust patterns to work for i386. * testsuite/script_test_15a.sh: Likewise. * testsuite/script_test_15b.sh: Likewise. * testsuite/script_test_15c.sh: Likewise. --- gold/testsuite/script_test_13.sh | 2 +- gold/testsuite/script_test_15a.sh | 4 ++-- gold/testsuite/script_test_15b.sh | 4 ++-- gold/testsuite/script_test_15c.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'gold/testsuite') diff --git a/gold/testsuite/script_test_13.sh b/gold/testsuite/script_test_13.sh index 6f57888..39bd30c 100755 --- a/gold/testsuite/script_test_13.sh +++ b/gold/testsuite/script_test_13.sh @@ -38,4 +38,4 @@ check() fi } -check "script_test_13.stdout" "\\.rela\\.dyn[[:space:]]\\+RELA[[:space:]]\\+0\\+10000\\b" +check "script_test_13.stdout" "\.rela\?\.dyn[[:space:]]\+RELA\?[[:space:]]\+0\+10000\b" diff --git a/gold/testsuite/script_test_15a.sh b/gold/testsuite/script_test_15a.sh index dd038e8..bfebb6b 100755 --- a/gold/testsuite/script_test_15a.sh +++ b/gold/testsuite/script_test_15a.sh @@ -37,5 +37,5 @@ check() fi } -check script_test_15a.stdout "LOAD.*0x000... 0x001... RW" -check script_test_15a.stdout "01.*\\.data .*\\.data.extra .*\\.bss" +check script_test_15a.stdout "LOAD.*0x0\+0... 0x0\+1... RW" +check script_test_15a.stdout "01.*\.data .*\.data.extra .*\.bss" diff --git a/gold/testsuite/script_test_15b.sh b/gold/testsuite/script_test_15b.sh index a902caf..3f6444b 100755 --- a/gold/testsuite/script_test_15b.sh +++ b/gold/testsuite/script_test_15b.sh @@ -38,5 +38,5 @@ check() fi } -check script_test_15b.stdout "LOAD.*0x001... 0x001... RW" -check script_test_15b.stdout "01.*\\.bss .*\\.data .*\\.data.extra" +check script_test_15b.stdout "LOAD.*0x0\+1... 0x0\+1... RW" +check script_test_15b.stdout "01.*\.bss .*\.data .*\.data.extra" diff --git a/gold/testsuite/script_test_15c.sh b/gold/testsuite/script_test_15c.sh index 3f7d581..bb319ed 100755 --- a/gold/testsuite/script_test_15c.sh +++ b/gold/testsuite/script_test_15c.sh @@ -38,5 +38,5 @@ check() fi } -check script_test_15c.stdout "LOAD.*0x000... 0x001... RW" -check script_test_15c.stdout "01.*\\.data .*\\.data.extra .*\\.bss" +check script_test_15c.stdout "LOAD.*0x0\+0... 0x0\+1... RW" +check script_test_15c.stdout "01.*\.data .*\.data.extra .*\.bss" -- cgit v1.1