diff options
author | Petr Machata <pmachata@redhat.com> | 2014-05-15 17:12:23 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:26 +0900 |
commit | 86dcfff432c203d6494062d4a5b1c2b5141e62e1 (patch) | |
tree | 7910a7092e7e7065b02201e8d3f40c94c47a4d73 /testsuite | |
parent | deb4d2cecbe758a88cf7ef2b0dfedb5969531d78 (diff) | |
download | ltrace-86dcfff432c203d6494062d4a5b1c2b5141e62e1.tar.gz ltrace-86dcfff432c203d6494062d4a5b1c2b5141e62e1.tar.bz2 ltrace-86dcfff432c203d6494062d4a5b1c2b5141e62e1.zip |
In ppc-lwarx.exp, Dwarf backend may resolve atomic_add's prototype
- in which case the patterns are wrong. Change the pattern to match
both cases.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ltrace.torture/ppc-lwarx.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/ltrace.torture/ppc-lwarx.exp b/testsuite/ltrace.torture/ppc-lwarx.exp index bc2eba4..a081d3b 100644 --- a/testsuite/ltrace.torture/ppc-lwarx.exp +++ b/testsuite/ltrace.torture/ppc-lwarx.exp @@ -1,5 +1,5 @@ # This file is part of ltrace. -# Copyright (C) 2012 Petr Machata, Red Hat Inc. +# Copyright (C) 2012, 2014 Petr Machata, Red Hat Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -46,10 +46,10 @@ if { [istarget powerpc*-*] } then { return } - set pattern "atomic_add(.*, 5,.*)" + set pattern "atomic_add(.*, 5\\b.*" ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 - set pattern "atomic_add(.*, 10,.*)" + set pattern "atomic_add(.*, 10\\b.*" ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 - set pattern "atomic_add(.*, 15,.*)" + set pattern "atomic_add(.*, 15\\b.*" ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 } |