MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/mmc --generate-dependencies --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl sort > sort.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/tests/declarative_debugger' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/mmc --make-interface --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl sort /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/mmc --compile-to-c --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl sort > sort.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/mgnuc --grade asm_fast.gc.decldebug.stseg -- -c sort.c -o sort.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/mgnuc --grade asm_fast.gc.decldebug.stseg -- -c sort_init.c -o sort_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/ml --grade asm_fast.gc.decldebug.stseg --no-mercury-stdlib-dir --trace --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/ssdb/mer_ssdb.init -- -o sort sort_init.o \ sort.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/boehm_gc/libgc.a MERCURY_OPTIONS="$MERCURY_OPTIONS -de" HOME=/nonexistent MERCURY_SUPPRESS_MDB_BANNER=yes MERCURY_DEBUGGER_INIT=/mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/stage2/scripts/test_mdbrc mdb ./sort sort.input < sort.inp 2>&1 | \ sed -e 's/0x[0-9a-f]*/0xNNNN/g' \ > sort.out 2>&1 \ || { grep . sort.out /dev/null; exit 1; } Comparing sort.out with sort.exp*, results in sort.res ** sort.out did not match the expected output ** (closest match was sort.res1) --- sort.exp 2020-10-11 14:28:49.000000000 +1100 +++ sort.out 2022-04-03 15:00:14.065053287 +1000 @@ -43,8 +43,8 @@ do_write_string(...) Valid? depth io 10 dd> print io 9 -read_line_as_string_2('<>', yes, ok, "rafe\n", - '<>') +read_line_as_string_2('<>', yes, rlas_ok, + '<>', "rafe\n") dd> depth io 1 dd> no open_stream(...) make[3]: *** [../Mmake.common:138: sort.res] Error 1 make[3]: Target 'sort.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-04-02/tests/declarative_debugger'