[Ltrace-devel] This is the 8th patch related to ppc64/ppc64le work.

thierry at linux.vnet.ibm.com thierry at linux.vnet.ibm.com
Fri Apr 8 07:58:32 UTC 2016


>From 417a2b97f8db5cef738844489559391620b81a35 Mon Sep 17 00:00:00 2001
From: Thierry Fauck <tfauck at free.fr>
Date: Fri, 8 Apr 2016 03:38:29 -0400
Subject: [PATCH] ppc64-BE-wide-character-table.patch
 ppc64 (BE) wide character table ppc64 (BE) wide character
 table differs from ppc64le (LE) table. This patch checks for both matching
 value in the test

	modified:   testsuite/ltrace.minor/wchar.exp

Signed-off-by: Thierry Fauck <tfauck at free.fr>
---
 testsuite/ltrace.minor/wchar.exp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/testsuite/ltrace.minor/wchar.exp b/testsuite/ltrace.minor/wchar.exp
index ab909de..ccb838b 100644
--- a/testsuite/ltrace.minor/wchar.exp
+++ b/testsuite/ltrace.minor/wchar.exp
@@ -159,17 +159,17 @@ ltraceMatch [ltraceRun -F $srcdir/../etc/ -- $bin] {
     {{^fwprintf\(.*, "Какое-то %ls %s.\\n", "что-то", "something"\).*= 27} == 1}
     {{^wcslen\("ДЧто-то.\\n"\).*= 9} == 1}
     {{^swprintf\("zwölf große Boxkämpfe 9", 64, "zwölf große %ls %zd", "Boxkämpfe", 9\).*= 23} == 1}
-    {{^iswalnum\('1'\).*= 8} == 1}
-    {{^iswalpha\('A'\).*= 1024} == 1}
-    {{^iswcntrl\('\\t'\).*= 2} == 1}
+    {{^iswalnum\('1'\).*= (8|2048)} == 1}
+    {{^iswalpha\('A'\).*= (1024|4)} == 1}
+    {{^iswcntrl\('\\t'\).*= (2|512)} == 1}
     {{^iswdigit\('1'\).*= 1} == 1}
-    {{^iswgraph\('='\).*= 32768} == 1}
+    {{^iswgraph\('='\).*= (32768|128)} == 1}
     {{^iswlower\('ц'\).*= 1} == 1}
     {{^iswupper\('Ц'\).*= 1} == 1}
     {{^iswprint\('☻'\).*= 1} == 1}
     {{^iswpunct\('•'\).*= 1} == 1}
-    {{^iswspace\('\\t'\).*= 8192} == 1}
-    {{^iswxdigit\('A'\).*= 4096} == 1}
+    {{^iswspace\('\\t'\).*= (8192|32)} == 1}
+    {{^iswxdigit\('A'\).*= (4096|16)} == 1}
     {{^mbrtowc\('ч', ".*", 7, nil\)} == 1}
     {{^mbsrtowcs\("что", nil, 64, nil\).*= 3} == 1}
     {{^towupper\('ы'\).*= 'Ы'} == 1}
-- 
2.7.0




More information about the Ltrace-devel mailing list