Files
mercury/tests/debugger/cmd_quote.exp
Zoltan Somogyi 8b0cea125e Replace bespoke make rules with existing implicit rule.
tests/debugger/Mmakefile:
    Delete the bespoke make rules for test cases that do not require
    their own special handling.

tests/debugger/all_solutions.exp:
tests/debugger/all_solutions.exp2:
tests/debugger/all_solutions.exp4:
tests/debugger/browse_packed.exp:
tests/debugger/browse_pretty.exp:
tests/debugger/class_decl.exp:
tests/debugger/cmd_quote.exp:
tests/debugger/debugger_regs.exp:
tests/debugger/field_names.exp:
tests/debugger/implied_instance.exp:
tests/debugger/label_layout.exp:
tests/debugger/list_cmd.exp:
tests/debugger/lval_desc_array.exp:
tests/debugger/multi_parameter.exp:
tests/debugger/multi_parameter.exp2:
tests/debugger/mutrec.exp:
tests/debugger/no_inline_builtins.exp:
tests/debugger/queens_rep.exp:
tests/debugger/shallow.exp:
tests/debugger/shallow.exp2:
    Expect standardized event numbers and call sequence numbers,
    since that is what the implicit rule specifies.

tests/debugger/all_solutions.m:
    Fill in missing info about which .expN file is for what situations.
2026-03-15 13:07:48 +11:00

43 lines
1.0 KiB
Plaintext

E1: C1 CALL pred cmd_quote.main/2-0 (det) cmd_quote.m:13
mdb> echo on
Command echo enabled.
mdb> print \ foo
mdb: there is no such variable.
mdb> print \\
mdb: there is no such variable.
mdb> print 'foo'
mdb: there is no such variable.
mdb> print '\''
mdb: there is no such variable.
mdb> print ''''
mdb: there is no such variable.
mdb> print \
> foo \
> bar \
> baz
mdb: print: usage error -- type `help print' for help.
mdb> print 'foo
> bar
> baz '
mdb: there is no such variable.
mdb> print '
> foo \
> bar \'
> '
mdb: there is no such variable.
mdb> \\\
> \\\\
Unknown command `\'. Give the command `help' for help.
mdb> \\\\\\\\
Unknown command `\\\\'. Give the command `help' for help.
mdb> \'\'\'\'
Unknown command `'''''. Give the command `help' for help.
mdb> 'foo\''
Unknown command `foo''. Give the command `help' for help.
mdb> \ \ \ .
Unknown command ` .'. Give the command `help' for help.
mdb> '\ \\\''
Unknown command ` \''. Give the command `help' for help.
mdb> '
> unmatched single quote.
mdb> mdb: are you sure you want to quit?