aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2017-01-11 11:26:26 -0800
committerCary Coutant <ccoutant@gmail.com>2017-01-11 11:29:43 -0800
commita513f8bec2a8be13196960372b477231af8f76a2 (patch)
tree11bf23c68ffc05139fc3650c7cb4da1ee45a7cff /gold/testsuite
parenta0c0f1cb6a0144f01b5f1bd4928c4cf9cf0aff9b (diff)
downloadgdb-a513f8bec2a8be13196960372b477231af8f76a2.zip
gdb-a513f8bec2a8be13196960372b477231af8f76a2.tar.gz
gdb-a513f8bec2a8be13196960372b477231af8f76a2.tar.bz2
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.
Diffstat (limited to 'gold/testsuite')
-rwxr-xr-xgold/testsuite/script_test_13.sh2
-rwxr-xr-xgold/testsuite/script_test_15a.sh4
-rwxr-xr-xgold/testsuite/script_test_15b.sh4
-rwxr-xr-xgold/testsuite/script_test_15c.sh4
4 files changed, 7 insertions, 7 deletions
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"