GNOME Bugzilla – Bug 728743
make test fails
Last modified: 2014-04-22 18:42:18 UTC
$ make test TEST: tests/test-scan... (pid=17033) /scan/underscore-to-space: OK /scan/remove-space: OK /scan/P20-to-space: ** ERROR:tests/test-scan.c:33:check_string: assertion failed (string1 == string2): ("S T R020" == "S T R ") FAIL GTester: last random seed: R02Sd61531c3fcfc646443577093071ac115 make: *** [test] Terminated
Created attachment 274900 [details] configuration log
I cannot reproduce the test failure. However, I guess that this is because the arguments to strcpy() in Scan_Convert_P20_Into_Space() overlap, which leads to undefined behaviour. Can you revert 553ba87d0311e4e4c64f2321b5aa654df0c4ae29 (which was added in bug 726108) and see if that fixes the test? https://git.gnome.org/browse/easytag/commit/?id=553ba87d0311e4e4c64f2321b5aa654df0c4ae29
Yes, reverting of 553ba87d0311e4e4c64f2321b5aa654df0c4ae29 fixes this problem for me.
Thanks for the confirmation. I have reverted the problematic patch on the easytag-2-2 and master branches. The fix will be in an upcoming 2.2.1 release, due in the next few days.
Great, thank you for such fast fix!