From 567037048976c26d9a20b697fe6db955bf1941f6 Mon Sep 17 00:00:00 2001 From: hades Date: Thu, 29 Mar 2001 12:23:09 +0000 Subject: [PATCH] *** empty log message *** --- allParam/test/filename/f_lowercase_abs.c | 2 +- allParam/test/filename/f_lowercase_rel.c | 2 +- allParam/test/filename/f_lowercase_rel_no_basedir.c | 2 +- allParam/test/int/i_store.c | 4 ++-- allParam/test/int/i_store_existing.c | 4 ++-- allParam/test/int/i_store_multiple.c | 4 ++-- allParam/test/string/s_lowercase.c | 2 +- allParam/test/string/s_store.c | 4 ++-- allParam/test/string/s_store_existing.c | 4 ++-- allParam/test/string/s_store_multiple.c | 4 ++-- allParam/test/string/s_store_whitespace.c | 4 ++-- allParam/test/string/s_whitespace.c | 4 ++-- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/allParam/test/filename/f_lowercase_abs.c b/allParam/test/filename/f_lowercase_abs.c index 30629f9..8cf3b99 100644 --- a/allParam/test/filename/f_lowercase_abs.c +++ b/allParam/test/filename/f_lowercase_abs.c @@ -30,10 +30,10 @@ int f_lowercase_abs(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } desParam(param); diff --git a/allParam/test/filename/f_lowercase_rel.c b/allParam/test/filename/f_lowercase_rel.c index bb5a955..968fec3 100644 --- a/allParam/test/filename/f_lowercase_rel.c +++ b/allParam/test/filename/f_lowercase_rel.c @@ -30,10 +30,10 @@ int f_lowercase_rel(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } desParam(param); diff --git a/allParam/test/filename/f_lowercase_rel_no_basedir.c b/allParam/test/filename/f_lowercase_rel_no_basedir.c index 2333c9b..4242861 100644 --- a/allParam/test/filename/f_lowercase_rel_no_basedir.c +++ b/allParam/test/filename/f_lowercase_rel_no_basedir.c @@ -31,10 +31,10 @@ int f_lowercase_rel_no_basedir(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } desParam(param); diff --git a/allParam/test/int/i_store.c b/allParam/test/int/i_store.c index db0518c..38f0819 100644 --- a/allParam/test/int/i_store.c +++ b/allParam/test/int/i_store.c @@ -38,10 +38,10 @@ int i_store(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"i_store.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -50,10 +50,10 @@ int i_store(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%ud\'\nreturn Value of store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/int/i_store_existing.c b/allParam/test/int/i_store_existing.c index 2f1b5ab..13c75b5 100644 --- a/allParam/test/int/i_store_existing.c +++ b/allParam/test/int/i_store_existing.c @@ -38,10 +38,10 @@ int i_store_existing(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"i_store_existing.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -50,10 +50,10 @@ int i_store_existing(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%ud\'\nreturn Value of store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/int/i_store_multiple.c b/allParam/test/int/i_store_multiple.c index bb4208a..cdf41f9 100644 --- a/allParam/test/int/i_store_multiple.c +++ b/allParam/test/int/i_store_multiple.c @@ -41,10 +41,10 @@ int i_store_multiple(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"i_store_multiple.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -53,10 +53,10 @@ int i_store_multiple(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%ud\'\nreturn Value of first store call: %d\nreturn Value of second store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2, retVal3); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/string/s_lowercase.c b/allParam/test/string/s_lowercase.c index d03b0d5..cf0cbe7 100644 --- a/allParam/test/string/s_lowercase.c +++ b/allParam/test/string/s_lowercase.c @@ -30,10 +30,10 @@ int s_lowercase(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } desParam(param); diff --git a/allParam/test/string/s_store.c b/allParam/test/string/s_store.c index bf92dc1..e1c3156 100644 --- a/allParam/test/string/s_store.c +++ b/allParam/test/string/s_store.c @@ -38,10 +38,10 @@ int s_store(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"s_store.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -50,10 +50,10 @@ int s_store(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\'\nreturn Value of store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/string/s_store_existing.c b/allParam/test/string/s_store_existing.c index 01ffd93..01a34e4 100644 --- a/allParam/test/string/s_store_existing.c +++ b/allParam/test/string/s_store_existing.c @@ -38,10 +38,10 @@ int s_store_existing(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"s_store_existing.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -50,10 +50,10 @@ int s_store_existing(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\'\nreturn Value of store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/string/s_store_multiple.c b/allParam/test/string/s_store_multiple.c index e994363..088a235 100644 --- a/allParam/test/string/s_store_multiple.c +++ b/allParam/test/string/s_store_multiple.c @@ -41,10 +41,10 @@ int s_store_multiple(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"s_store_multiple.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -53,10 +53,10 @@ int s_store_multiple(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\'\nreturn Value of first store call: %d\nreturn Value of second store call: %d\nreturn Value of get call: %d.\n", testid, rows, result, retVal1, retVal2, retVal3); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/string/s_store_whitespace.c b/allParam/test/string/s_store_whitespace.c index a2da2d9..28ac1ab 100644 --- a/allParam/test/string/s_store_whitespace.c +++ b/allParam/test/string/s_store_whitespace.c @@ -38,10 +38,10 @@ int s_store_whitespace(const char *testid) { #ifdef VERBOSE printf("%s : Failed: Files \"storage.tcl\" and \"s_store_whitespace.tcl\" differ.\n", testid); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } else { myRetVal = 0; printf("%s : Passed.\n", testid); @@ -50,10 +50,10 @@ int s_store_whitespace(const char *testid) { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value of store call: %d, return Value of get call: %d.\n", testid, rows, result, retVal1, retVal2); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } return myRetVal; diff --git a/allParam/test/string/s_whitespace.c b/allParam/test/string/s_whitespace.c index 9a30a22..7aa122a 100644 --- a/allParam/test/string/s_whitespace.c +++ b/allParam/test/string/s_whitespace.c @@ -23,17 +23,17 @@ int s_whitespace(const char *testid) { conParam(param); retVal = Param_getString(param, name, idx, &rows, result); - if ((rows == 1) && result && (strcmp(result, "test100 whith whitespace") == 0) && (retVal == 0)) { + if ((rows == 1) && result && (strcmp("test100 whith whitespace", result) == 0) && (retVal == 0)) { myRetVal = 0; printf("%s : Passed.\n", testid); } else { #ifdef VERBOSE printf("%s : Failed. Rows: %d, result: \'%s\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); - myRetVal = -1; #else printf("%s : Failed.\n", testid); #endif + myRetVal = -1; } desParam(param); -- 2.43.0