071-args.exp (modules-5.1.1.tar.bz2) | : | 071-args.exp (modules-5.2.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
testouterr_cmd "sh" "path" "ERR" "${bad_arg1}path${bad_arg2}\n$err_typehelp" | testouterr_cmd "sh" "path" "ERR" "${bad_arg1}path${bad_arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "path foo bar" "ERR" "${bad_arg1}path${bad_arg2}\n$err_typeh elp" | testouterr_cmd "sh" "path foo bar" "ERR" "${bad_arg1}path${bad_arg2}\n$err_typeh elp" | |||
testouterr_cmd "sh" "paths" "ERR" "${bad_arg1}paths${bad_arg2}\n$err_typehelp" | testouterr_cmd "sh" "paths" "ERR" "${bad_arg1}paths${bad_arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "paths foo bar" "ERR" "${bad_arg1}paths${bad_arg2}\n$err_typ ehelp" | testouterr_cmd "sh" "paths foo bar" "ERR" "${bad_arg1}paths${bad_arg2}\n$err_typ ehelp" | |||
testouterr_cmd "sh" "search foo bar" "ERR" "${bad_arg1}search${bad_arg2}\n$err_t ypehelp" | testouterr_cmd "sh" "search foo bar" "ERR" "${bad_arg1}search${bad_arg2}\n$err_t ypehelp" | |||
testouterr_cmd "sh" "purge foo" "ERR" "${bad_arg1}purge${bad_arg2}\n$err_typehel p" | testouterr_cmd "sh" "purge foo" "ERR" "${bad_arg1}purge${bad_arg2}\n$err_typehel p" | |||
testouterr_cmd "sh" "save foo bar" "ERR" "${bad_arg1}save${bad_arg2}\n$err_typeh elp" | testouterr_cmd "sh" "save foo bar" "ERR" "${bad_arg1}save${bad_arg2}\n$err_typeh elp" | |||
testouterr_cmd "sh" "restore foo bar" "ERR" "${bad_arg1}restore${bad_arg2}\n$err _typehelp" | testouterr_cmd "sh" "restore foo bar" "ERR" "${bad_arg1}restore${bad_arg2}\n$err _typehelp" | |||
testouterr_cmd "sh" "saverm foo bar" "ERR" "${bad_arg1}saverm${bad_arg2}\n$err_t ypehelp" | testouterr_cmd "sh" "saverm foo bar" "ERR" "${bad_arg1}saverm${bad_arg2}\n$err_t ypehelp" | |||
testouterr_cmd "sh" "saveshow foo bar" "ERR" "${bad_arg1}saveshow${bad_arg2}\n$e rr_typehelp" | testouterr_cmd "sh" "saveshow foo bar" "ERR" "${bad_arg1}saveshow${bad_arg2}\n$e rr_typehelp" | |||
testouterr_cmd "sh" "savelist foo" "ERR" "${bad_arg1}savelist${bad_arg2}\n$err_t ypehelp" | ||||
testouterr_cmd "sh" "initadd" "ERR" "${bad_arg1}initadd${bad_arg2}\n$err_typehel p" | testouterr_cmd "sh" "initadd" "ERR" "${bad_arg1}initadd${bad_arg2}\n$err_typehel p" | |||
testouterr_cmd "sh" "initprepend" "ERR" "${bad_arg1}initprepend${bad_arg2}\n$err _typehelp" | testouterr_cmd "sh" "initprepend" "ERR" "${bad_arg1}initprepend${bad_arg2}\n$err _typehelp" | |||
testouterr_cmd "sh" "initswitch" "ERR" "${bad_arg1}initswitch${bad_arg2}\n$err_t ypehelp" | testouterr_cmd "sh" "initswitch" "ERR" "${bad_arg1}initswitch${bad_arg2}\n$err_t ypehelp" | |||
testouterr_cmd "sh" "initswitch foo1 bar foo2" "ERR" "${bad_arg1}initswitch${bad _arg2}\n$err_typehelp" | testouterr_cmd "sh" "initswitch foo1 bar foo2" "ERR" "${bad_arg1}initswitch${bad _arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "initrm" "ERR" "${bad_arg1}initrm${bad_arg2}\n$err_typehelp" | testouterr_cmd "sh" "initrm" "ERR" "${bad_arg1}initrm${bad_arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "initlist foo" "ERR" "${bad_arg1}initlist${bad_arg2}\n$err_t ypehelp" | testouterr_cmd "sh" "initlist foo" "ERR" "${bad_arg1}initlist${bad_arg2}\n$err_t ypehelp" | |||
testouterr_cmd "sh" "initclear foo" "ERR" "${bad_arg1}initclear${bad_arg2}\n$err _typehelp" | testouterr_cmd "sh" "initclear foo" "ERR" "${bad_arg1}initclear${bad_arg2}\n$err _typehelp" | |||
testouterr_cmd "sh" "autoinit foo" "ERR" "${bad_arg1}autoinit${bad_arg2}\n$err_t ypehelp" | testouterr_cmd "sh" "autoinit foo" "ERR" "${bad_arg1}autoinit${bad_arg2}\n$err_t ypehelp" | |||
testouterr_cmd "sh" "test" "ERR" "${bad_arg1}test${bad_arg2}\n$err_typehelp" | testouterr_cmd "sh" "test" "ERR" "${bad_arg1}test${bad_arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "append-path" "ERR" "${bad_arg1}append-path${bad_arg2}\n$err _typehelp" | testouterr_cmd "sh" "append-path" "ERR" "${bad_arg1}append-path${bad_arg2}\n$err _typehelp" | |||
skipping to change at line 95 | skipping to change at line 94 | |||
testouterr_cmd "sh" "sh-to-mod" "ERR" "${bad_arg1}sh-to-mod${bad_arg2}\n$err_typ ehelp" | testouterr_cmd "sh" "sh-to-mod" "ERR" "${bad_arg1}sh-to-mod${bad_arg2}\n$err_typ ehelp" | |||
testouterr_cmd "sh" "sh-to-mod bash" "ERR" "${bad_arg1}sh-to-mod${bad_arg2}\n$er r_typehelp" | testouterr_cmd "sh" "sh-to-mod bash" "ERR" "${bad_arg1}sh-to-mod${bad_arg2}\n$er r_typehelp" | |||
testouterr_cmd "sh" "edit" "ERR" "${bad_arg1}edit${bad_arg2}\n$err_typehelp" | testouterr_cmd "sh" "edit" "ERR" "${bad_arg1}edit${bad_arg2}\n$err_typehelp" | |||
testouterr_cmd "sh" "edit foo bar" "ERR" "${bad_arg1}edit${bad_arg2}\n$err_typeh elp" | testouterr_cmd "sh" "edit foo bar" "ERR" "${bad_arg1}edit${bad_arg2}\n$err_typeh elp" | |||
testouterr_cmd "sh" "try-load" "ERR" "${bad_arg1}try-load${bad_arg2}\n$err_typeh elp" | testouterr_cmd "sh" "try-load" "ERR" "${bad_arg1}try-load${bad_arg2}\n$err_typeh elp" | |||
testouterr_cmd "sh" "try-add" "ERR" "${bad_arg1}try-load${bad_arg2}\n$err_typehe lp" | testouterr_cmd "sh" "try-add" "ERR" "${bad_arg1}try-load${bad_arg2}\n$err_typehe lp" | |||
testouterr_cmd "sh" "refresh foo" "ERR" "${bad_arg1}refresh${bad_arg2}\n$err_typ ehelp" | testouterr_cmd "sh" "refresh foo" "ERR" "${bad_arg1}refresh${bad_arg2}\n$err_typ ehelp" | |||
testouterr_cmd "sh" "state foo bar" "ERR" "${bad_arg1}state${bad_arg2}\n$err_typ ehelp" | testouterr_cmd "sh" "state foo bar" "ERR" "${bad_arg1}state${bad_arg2}\n$err_typ ehelp" | |||
testouterr_cmd "sh" "load-any" "ERR" "${bad_arg1}load-any${bad_arg2}\n$err_typeh elp" | testouterr_cmd "sh" "load-any" "ERR" "${bad_arg1}load-any${bad_arg2}\n$err_typeh elp" | |||
testouterr_cmd "sh" "add-any" "ERR" "${bad_arg1}load-any${bad_arg2}\n$err_typehe lp" | testouterr_cmd "sh" "add-any" "ERR" "${bad_arg1}load-any${bad_arg2}\n$err_typehe lp" | |||
testouterr_cmd "sh" "mod-to-sh" "ERR" "${bad_arg1}mod-to-sh${bad_arg2}\n$err_typ | ||||
ehelp" | ||||
testouterr_cmd "sh" "mod-to-sh sh" "ERR" "${bad_arg1}mod-to-sh${bad_arg2}\n$err_ | ||||
typehelp" | ||||
testouterr_cmd "sh" "reset foo" "ERR" "${bad_arg1}reset${bad_arg2}\n$err_typehel | ||||
p" | ||||
testouterr_cmd "sh" "stash foo" "ERR" "${bad_arg1}stash${bad_arg2}\n$err_typehel | ||||
p" | ||||
testouterr_cmd "sh" "stashpop foo bar" "ERR" "${bad_arg1}stashpop${bad_arg2}\n$e | ||||
rr_typehelp" | ||||
testouterr_cmd "sh" "stashrm foo bar" "ERR" "${bad_arg1}stashrm${bad_arg2}\n$err | ||||
_typehelp" | ||||
testouterr_cmd "sh" "stashshow foo bar" "ERR" "${bad_arg1}stashshow${bad_arg2}\n | ||||
$err_typehelp" | ||||
testouterr_cmd "sh" "stashclear foo" "ERR" "${bad_arg1}stashclear${bad_arg2}\n$e | ||||
rr_typehelp" | ||||
testouterr_cmd "sh" "stashclear foo bar" "ERR" "${bad_arg1}stashclear${bad_arg2} | ||||
\n$err_typehelp" | ||||
testouterr_cmd "sh" "stashlist foo" "ERR" "${bad_arg1}stashlist${bad_arg2}\n$err | ||||
_typehelp" | ||||
testouterr_cmd "sh" "stashlist foo bar" "ERR" "${bad_arg1}stashlist${bad_arg2}\n | ||||
$err_typehelp" | ||||
# options valid for some commands are understood as modulefile name elsewhere | # options valid for some commands are understood as modulefile name elsewhere | |||
if {[is_conf_enabled advversspec]} { | if {[is_conf_enabled advversspec]} { | |||
testouterr_cmd sh {load --append} ERR $err_specmodname'--append' | testouterr_cmd sh {load --append} ERR $err_specmodname'--append' | |||
testouterr_cmd sh {load --prepend} ERR $err_specmodname'--prepend' | testouterr_cmd sh {load --prepend} ERR $err_specmodname'--prepend' | |||
} else { | } else { | |||
testouterr_cmd sh {load --append} ERR $err_path'--append' | testouterr_cmd sh {load --append} ERR $err_path'--append' | |||
testouterr_cmd sh {load --prepend} ERR $err_path'--prepend' | testouterr_cmd sh {load --prepend} ERR $err_path'--prepend' | |||
} | } | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 22 lines changed or added |