diff --git a/libycp/testsuite/README b/libycp/testsuite/README deleted file mode 100644 index 9819fae4e..000000000 --- a/libycp/testsuite/README +++ /dev/null @@ -1,16 +0,0 @@ -YCP testsuite - -The ycp testsuite test the libycp by running all .ycp files in -the ycp.test directory (tests/*.ycp) through runycp. - -Every run results in a stdout and stderr output which is -checked agains .out and .err respectively. - -The file lib/ycp.exp defines a function which runs all tests -contained in tests (i.e. makes a 'glob' on tests/*.ycp) - -For every .ycp file you put in tests, you must create the proper -.out and .err file with the following command - -runycp < file.ycp > file.out 2> file.err - diff --git a/libycp/testsuite/README.md b/libycp/testsuite/README.md new file mode 100644 index 000000000..ee41296bc --- /dev/null +++ b/libycp/testsuite/README.md @@ -0,0 +1,75 @@ +## libycp testsuite + +### Overview + +The ycp testsuite tests the libycp by running all .ycp files in +the ycp.test directory (tests/*.ycp) through runycp. + +Every run results in a stdout and stderr output which is +checked against .out and .err respectively. + +The file lib/ycp.exp defines a function which runs all tests +contained in tests (i.e. makes a 'glob' on tests/*.ycp) + +For every .ycp file you put in tests, you must create the proper +.out and .err file with the following command + +runycp < file.ycp > file.out 2> file.err + + + +### Running all Tests + +``` +make check +``` + + +### Fixing a Failed Test + +After running the tests, the `testsuite` directory contains the _actual_ stdout +and stderr files for each individual test, e.g. + +- `tmp.out.Builtin-List2` +- `tmp.err.Builtin-List2` + +For a failing test, use `diff` to compare the _expected_ stdout and stderr file +in the subdirectory that contains the test against those _actual_ files. + +If you are sure that the difference is legitimate, copy the actual stdout file +to the expected stdout file and the actual stderr fil to the expected stderr +file and commit the file(s) to Git. + +Check the diff: + +``` +cd tests/builtin + +diff ../../tmp.out.Builtin-List2 Builtin-List2.out +diff ../../tmp.err.Builtin-List2 Builtin-List2.err +``` + +Looks okay? Then: + +``` +cp ../../tmp.out.Builtin-List2 Builtin-List2.out +cp ../../tmp.err.Builtin-List2 Builtin-List2.err +``` + +Run the tests again to make sure it's now really okay: + +``` +cd ../.. +make check +``` + +Okay now? Check the changes in: + +``` +cd tests/builtin + +git checkin -a -m "Fixed tests" +git push ... +``` + + diff --git a/libycp/testsuite/tests/builtin/Builtin-String1.err b/libycp/testsuite/tests/builtin/Builtin-String1.err index ddb9772e8..e31243fa2 100644 --- a/libycp/testsuite/tests/builtin/Builtin-String1.err +++ b/libycp/testsuite/tests/builtin/Builtin-String1.err @@ -56,7 +56,7 @@ Parsed: ---------------------------------------------------------------------- Parsed: ---------------------------------------------------------------------- -"** tolower and toascii **" +"** tolower **" ---------------------------------------------------------------------- Parsed: ---------------------------------------------------------------------- @@ -64,18 +64,14 @@ tolower ("aBcDeF") ---------------------------------------------------------------------- Parsed: ---------------------------------------------------------------------- -toascii ("aBc") ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- "** find et.al. **" ---------------------------------------------------------------------- -[Parser] tests/builtin/Builtin-String1.ycp:45 Warning: find(...) is deprecated, please fix +[Parser] tests/builtin/Builtin-String1.ycp:43 Warning: find(...) is deprecated, please fix Parsed: ---------------------------------------------------------------------- find ("abcdefghi", "efg") ---------------------------------------------------------------------- -[Parser] tests/builtin/Builtin-String1.ycp:46 Warning: find(...) is deprecated, please fix +[Parser] tests/builtin/Builtin-String1.ycp:44 Warning: find(...) is deprecated, please fix Parsed: ---------------------------------------------------------------------- find ("aaaaa", "z") diff --git a/libycp/testsuite/tests/builtin/Builtin-String1.out b/libycp/testsuite/tests/builtin/Builtin-String1.out index 07f3a1cd2..b772f2fe5 100644 --- a/libycp/testsuite/tests/builtin/Builtin-String1.out +++ b/libycp/testsuite/tests/builtin/Builtin-String1.out @@ -12,9 +12,8 @@ ("") ("") ("** crypt - disabled **") -("** tolower and toascii **") +("** tolower **") ("abcdef") -("aBc") ("** find et.al. **") (4) (-1) diff --git a/libycp/testsuite/tests/builtin/Builtin-String1.ycp b/libycp/testsuite/tests/builtin/Builtin-String1.ycp index 834698516..05ffac65a 100644 --- a/libycp/testsuite/tests/builtin/Builtin-String1.ycp +++ b/libycp/testsuite/tests/builtin/Builtin-String1.ycp @@ -34,11 +34,9 @@ //(cryptmd5 ("readable")) -("** tolower and toascii **") +("** tolower **") (tolower ("aBcDeF")) -(toascii ("aBc")) - ("** find et.al. **") diff --git a/libycp/testsuite/tests/values/SingleCharStrings.err b/libycp/testsuite/tests/values/SingleCharStrings.err deleted file mode 100644 index af68aec2e..000000000 --- a/libycp/testsuite/tests/values/SingleCharStrings.err +++ /dev/null @@ -1,1036 +0,0 @@ -Parsed: ----------------------------------------------------------------------- -"\001\001" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\002\002" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\003\003" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\004\004" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\005\005" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\006\006" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\007\007" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\b\b" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\b\b" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\t\t" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\t\t" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"line-break" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\013\013" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\f\f" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\f\f" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\r\r" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\r\r" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\016\016" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\017\017" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\020\020" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\021\021" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\022\022" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\023\023" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\024\024" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\025\025" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\026\026" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\027\027" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\030\030" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\031\031" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\032\032" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\033\033" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\034\034" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\035\035" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\036\036" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\037\037" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -" " ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"!!" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\"\"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"##" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"$$" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"%%" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"&&" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"''" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"((" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"))" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"**" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"++" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -",," ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"--" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -".." ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"//" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"00" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"11" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"22" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"33" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"44" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"55" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"66" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"77" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"88" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"99" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"::" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -";;" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"<<" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"==" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -">>" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"??" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"@@" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"AA" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"BB" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"CC" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"DD" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"EE" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"FF" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"GG" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"HH" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"II" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"JJ" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"KK" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"LL" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"MM" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"NN" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"OO" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"PP" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"QQ" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"RR" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"SS" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"TT" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"UU" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"VV" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"WW" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"XX" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"YY" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ZZ" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"[[" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"\\" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"]]" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"^^" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"__" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"``" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"aa" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"bb" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"cc" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"dd" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ee" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ff" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"gg" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"hh" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ii" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"jj" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"kk" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ll" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"mm" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"nn" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"oo" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"pp" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"qq" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"rr" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ss" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"tt" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"uu" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"vv" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"ww" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"xx" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"yy" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"zz" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"{{" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"||" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"}}" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"~~" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- -Parsed: ----------------------------------------------------------------------- -"" ----------------------------------------------------------------------- diff --git a/libycp/testsuite/tests/values/SingleCharStrings.out b/libycp/testsuite/tests/values/SingleCharStrings.out deleted file mode 100644 index 5559fda7e..000000000 --- a/libycp/testsuite/tests/values/SingleCharStrings.out +++ /dev/null @@ -1,259 +0,0 @@ -("\001\001") -("\002\002") -("\003\003") -("\004\004") -("\005\005") -("\006\006") -("\007\007") -("\b\b") -("\b\b") -("\t\t") -("\t\t") -("line-break") -("\013\013") -("\f\f") -("\f\f") -("\r\r") -("\r\r") -("\016\016") -("\017\017") -("\020\020") -("\021\021") -("\022\022") -("\023\023") -("\024\024") -("\025\025") -("\026\026") -("\027\027") -("\030\030") -("\031\031") -("\032\032") -("\033\033") -("\034\034") -("\035\035") -("\036\036") -("\037\037") -(" ") -("!!") -("\"\"") -("##") -("$$") -("%%") -("&&") -("''") -("((") -("))") -("**") -("++") -(",,") -("--") -("..") -("//") -("00") -("11") -("22") -("33") -("44") -("55") -("66") -("77") -("88") -("99") -("::") -(";;") -("<<") -("==") -(">>") -("??") -("@@") -("AA") -("BB") -("CC") -("DD") -("EE") -("FF") -("GG") -("HH") -("II") -("JJ") -("KK") -("LL") -("MM") -("NN") -("OO") -("PP") -("QQ") -("RR") -("SS") -("TT") -("UU") -("VV") -("WW") -("XX") -("YY") -("ZZ") -("[[") -("\\") -("]]") -("^^") -("__") -("``") -("aa") -("bb") -("cc") -("dd") -("ee") -("ff") -("gg") -("hh") -("ii") -("jj") -("kk") -("ll") -("mm") -("nn") -("oo") -("pp") -("qq") -("rr") -("ss") -("tt") -("uu") -("vv") -("ww") -("xx") -("yy") -("zz") -("{{") -("||") -("}}") -("~~") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") -("") diff --git a/libycp/testsuite/tests/values/SingleCharStrings.ycp b/libycp/testsuite/tests/values/SingleCharStrings.ycp deleted file mode 100644 index 7834f12c7..000000000 Binary files a/libycp/testsuite/tests/values/SingleCharStrings.ycp and /dev/null differ diff --git a/package/yast2-core.changes b/package/yast2-core.changes index 439fe65ce..8cecffc3f 100644 --- a/package/yast2-core.changes +++ b/package/yast2-core.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 28 13:24:23 UTC 2023 - Stefan Hundhammer + +- Do not test YCP on non-UTF-8 strings (bsc#1217523) +- 5.0.1 + ------------------------------------------------------------------- Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger diff --git a/package/yast2-core.spec b/package/yast2-core.spec index 74b88414a..13e19ca3c 100644 --- a/package/yast2-core.spec +++ b/package/yast2-core.spec @@ -26,7 +26,7 @@ %bcond_with werror Name: yast2-core -Version: 5.0.0 +Version: 5.0.1 Release: 0 Url: https://github.com/yast/yast-core