summaryrefslogtreecommitdiff
path: root/testsuite/ltrace.torture/ppc-lwarx.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/ltrace.torture/ppc-lwarx.exp')
-rw-r--r--testsuite/ltrace.torture/ppc-lwarx.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/ltrace.torture/ppc-lwarx.exp b/testsuite/ltrace.torture/ppc-lwarx.exp
index bc2eba4..caea316 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
@@ -33,7 +33,7 @@ if { [istarget powerpc*-*] } then {
# set options for ltrace.
ltrace_options "-x" "atomic_add" "-e" "!atoi"
- # Run PUT for ltarce.
+ # Run PUT for ltrace.
set exec_output [ltrace_runtest $objdir/$subdir $objdir/$subdir/$binfile]
# Check the output of this program.
@@ -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
}