summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/ltrace.torture/ppc-lwarx.exp8
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
}