summaryrefslogtreecommitdiffstats
path: root/sources/ltp-testsuite.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-02 06:49:18 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-02 06:49:18 +0000
commit81036b2f80bc16a22e90dc5debeb83ef7947a5d0 (patch)
treeead465e9798d06a810170e2b6f515eea7e824b55 /sources/ltp-testsuite.patch
parent54b24c221e4370fd129e65f579cddc77fd5584fd (diff)
downloadbuildroot-novena-81036b2f80bc16a22e90dc5debeb83ef7947a5d0.tar.gz
buildroot-novena-81036b2f80bc16a22e90dc5debeb83ef7947a5d0.zip
Patch the patch...
Diffstat (limited to 'sources/ltp-testsuite.patch')
-rw-r--r--sources/ltp-testsuite.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/sources/ltp-testsuite.patch b/sources/ltp-testsuite.patch
index 1156fd9d0..ae67f4b1d 100644
--- a/sources/ltp-testsuite.patch
+++ b/sources/ltp-testsuite.patch
@@ -118,8 +118,8 @@
+ if (t_ncmp[i].e_res==0) {
+ if ((n = strncmp( t_ncmp[i].s1, t_ncmp[i].s2, t_ncmp[i].n ))
+ != 0) {
-+ fprintf(temp, "(Strncmp) test %d: expected %d, got %d",
-+ i, t_ncmp[i].e_res, n );
++ fprintf(temp, "(Strncmp) test %d: expected 0, got %d",
++ i, n );
+ local_flag = FAILED;
}
- i++;
@@ -128,8 +128,8 @@
+ if (t_ncmp[i].e_res>0) {
+ if ((n = strncmp( t_ncmp[i].s1, t_ncmp[i].s2, t_ncmp[i].n ))
+ < 1) {
-+ fprintf(temp, "(Strncmp) test %d: expected %d, got %d",
-+ i, t_ncmp[i].e_res, n );
++ fprintf(temp, "(Strncmp) test %d: expected > 0, got %d",
++ i, n );
+ local_flag = FAILED;
+ }
+ i++;
@@ -137,8 +137,8 @@
+ if (t_ncmp[i].e_res<0) {
+ if ((n = strncmp( t_ncmp[i].s1, t_ncmp[i].s2, t_ncmp[i].n ))
+ > 1) {
-+ fprintf(temp, "(Strncmp) test %d: expected %d, got %d",
-+ i, t_ncmp[i].e_res, n );
++ fprintf(temp, "(Strncmp) test %d: expected < 0, got %d",
++ i, n );
+ local_flag = FAILED;
+ }
+ i++;