diff --git a/testsuite/modules.00-init/071-args.exp b/testsuite/modules.00-init/071-args.exp index 070da737..a67d7774 100644 --- a/testsuite/modules.00-init/071-args.exp +++ b/testsuite/modules.00-init/071-args.exp @@ -51,6 +51,7 @@ testouterr_cmd "ALL" "unload" "ERR" "${bad_arg1}unload${bad_arg2}\n$err_typehelp # that every supported shells respond correctly to error raise testall_cmd "sh" "reload foo" "ERR" "${bad_arg1}reload${bad_arg2}\n$err_typehelp" 1 +testall_cmd "sh" "update foo" "ERR" "${bad_arg1}reload${bad_arg2}\n$err_typehelp" 1 testouterr_cmd "sh" "source" "ERR" "${bad_arg1}source${bad_arg2}\n$err_typehelp" testouterr_cmd "sh" "switch" "ERR" "${bad_arg1}switch${bad_arg2}\n$err_typehelp" testouterr_cmd "sh" "switch foo1 bar foo2" "ERR" "${bad_arg1}switch${bad_arg2}\n$err_typehelp" diff --git a/testsuite/modules.50-cmds/282-info-command.exp b/testsuite/modules.50-cmds/282-info-command.exp index f678b5a6..00feaa9f 100644 --- a/testsuite/modules.50-cmds/282-info-command.exp +++ b/testsuite/modules.50-cmds/282-info-command.exp @@ -129,6 +129,7 @@ testouterr_cmd "sh" "purge" $ansun "purge" # test reloading testouterr_cmd "sh" "reload" $ans "reload\nreload" +testouterr_cmd "sh" "update" $ans "reload\nreload" # Clean up the just changed environment unsetenv_loaded_module diff --git a/testsuite/modules.50-cmds/283-info-command-exp.exp b/testsuite/modules.50-cmds/283-info-command-exp.exp index 23709da9..43b61db8 100644 --- a/testsuite/modules.50-cmds/283-info-command-exp.exp +++ b/testsuite/modules.50-cmds/283-info-command-exp.exp @@ -130,6 +130,7 @@ testouterr_cmd "sh" "purge" $ansun "purge" # test reloading testouterr_cmd "sh" "reload" $ans "reload\nreload" +testouterr_cmd "sh" "update" $ans "reload\nreload" # Clean up the just changed environment unsetenv_loaded_module diff --git a/testsuite/modules.70-maint/180-reload.exp b/testsuite/modules.70-maint/180-reload.exp index 4b90b609..1bc68420 100644 --- a/testsuite/modules.70-maint/180-reload.exp +++ b/testsuite/modules.70-maint/180-reload.exp @@ -47,11 +47,13 @@ setenv_loaded_module $module $modulefile # test_cmd "sh" "reload" $ans +test_cmd "sh" "update" $ans skip_if_quick_mode # command nickname tests test_cmd "sh" "rel" $ans +test_cmd "sh" "up" $ans # setup LOADEDMODULES/_LMFILES_ with an empty element