aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/PTESTS2C.sed1
-rw-r--r--posix/ptestcases.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/posix/PTESTS2C.sed b/posix/PTESTS2C.sed
index 98a547d..f371a70 100644
--- a/posix/PTESTS2C.sed
+++ b/posix/PTESTS2C.sed
@@ -2,3 +2,4 @@
s/# \(.*\)/ { 0, 0, "\1", NULL, },/
s/\([^¦]*\)¦\([^¦]*\)¦\([^¦]*\)¦\([^¦]*\)¦\(.*\)/ { \1, \2, "\3", "\4", \5 },/
s/\\/\\\\/g
+s/ /\\r/g
diff --git a/posix/ptestcases.h b/posix/ptestcases.h
index 87f584d..7e98cb2 100644
--- a/posix/ptestcases.h
+++ b/posix/ptestcases.h
@@ -122,7 +122,7 @@
{ 2, 5, "[^[:alnum:]]*", "2 ,a", },
{ 2, 5, "[[:alpha:]]*", " aBgH2", },
{ 1, 6, "[^[:alpha:]]*", "2 8,a", },
- { 1, 2, "[[:blank:]]*", " ", },
+ { 1, 2, "[[:blank:]]*", " \r", },
{ 1, 8, "[^[:blank:]]*", "aB28gH, ", },
{ 1, 2, "[[:cntrl:]]*", "  ", },
{ 1, 8, "[^[:cntrl:]]*", "aB2 8gh,", },
@@ -136,7 +136,7 @@
{ 1, 2, "[^[:print:]]*", "  ", },
{ 2, 2, "[[:punct:]]*", "a,2", },
{ 1, 9, "[^[:punct:]]*", "aB2 8gH", },
- { 1, 3, "[[:space:]]*", " ", },
+ { 1, 3, "[[:space:]]*", " \r", },
{ 2, 9, "[^[:space:]]*", " aB28gH, ", },
{ 2, 3, "[[:upper:]]*", "aBH2", },
{ 1, 8, "[^[:upper:]]*", "a2 8g,B", },