Debian Codegraph @

testsuite/modules.70-maint/156-is-avail.exp

raw
1 ##############################################################################
2 # Modules Revision 3.0
3 # Providing a flexible user environment
4 #
5 # File: modules.70-maint/%M%
6 # Revision: %I%
7 # First Edition: 2017/11/28
8 # Last Mod.: %U%, %G%
9 #
10 # Authors: Xavier Delaruelle, [email protected]
11 #
12 # Description: Testuite testsequence
13 # Command: is-avail
14 # Modulefiles:
15 # Sub-Command:
16 #
17 # Comment: %C{
18 # Test 'is-avail' module command
19 # }C%
20 #
21 ##############################################################################
22
23 #
24 # The tests
25 #
26
27 testouterr_cmd "ALL" "is-avail unk" "ERR" ""
28 testouterr_cmd "ALL" "is-avail unk setenv" [if_implicitdefault OK ERR] ""
29 testouterr_cmd "sh" "is-avail setenv/1.0" "OK" ""
30
31
32 #
33 # Cleanup
34 #
35
36 reset_test_env