Commit Graph

18 Commits

Author SHA1 Message Date
Xavier Delaruelle
cc0e63e82b Fix uninitialized 'rows' var in displayElementList proc
Add test case in 00-init/120-siteconfig to demonstrate a setup that
falls in the uninitialized 'rows' pit.

Fixes #195
2018-09-11 05:51:58 +02:00
Xavier Delaruelle
d8eb6c00e5 Remove g_force with path ref counting meaning
As a consequence a loaded module cannot be loaded a second time in force
mode. So the check of this situation in conflict procedure is not useful
anymore as the TESTSUITE_ENABLE_SITECONFIG_DEBUG non-regression test.
2018-07-22 08:22:16 +02:00
Xavier Delaruelle
1c0e888241 testsuite: fake win platform to check path var handling
Separator ';' is used instead of ':' on Windows platform. Add a test
leveraging siteconfig.tcl-1 to check path variable handling on a fake
Windows platform.

Set/get default path variable separator with new getPathSeparator
procedure. This way, global variable g_def_separator is defined after
parsing the siteconfig.tcl.
2018-03-15 06:00:57 +01:00
Xavier Delaruelle
51d3353325 Fetch terminal width on Windows with 'mode' cmd
Add test with fake 'mode' command to run on Linux.
2018-03-14 06:12:52 +01:00
Xavier Delaruelle
ccb794b332 testsuite: test lm accessor in 00-init/120-siteconfig 2018-03-07 07:26:52 +01:00
Xavier Delaruelle
e8e7cd3874 testsuite: file read w/o err report in 00/120-siteconfig 2018-03-04 14:51:17 +01:00
Xavier Delaruelle
dd7bea12c7 testsuite: load again conflict test in 50/130-conflict-full 2018-02-28 15:39:21 +01:00
Xavier Delaruelle
882520298b testsuite: terse+numbered disp test in 00/120-siteconfig 2018-02-28 14:36:33 +01:00
Xavier Delaruelle
878ff0087d testsuite: parseAccessIssue custom msg in 00/120-siteconfig 2018-02-28 10:20:25 +01:00
Xavier Delaruelle
b0c545827f testsuite: simulate solaris stty in 90-avail/070-full 2018-02-26 17:51:09 +01:00
Xavier Delaruelle
e340985d3b testsuite: no flag report test in 90-avail/070-full 2018-02-26 08:37:58 +01:00
Xavier Delaruelle
101e067a60 testsuite: add 120-siteconfig tests in 00-init suite 2018-02-23 11:10:06 +01:00
Xavier Delaruelle
08581bef7e testsuite/travis: add cases forcing term attach state 2018-02-22 06:55:21 +01:00
Xavier Delaruelle
f50e3e40d3 testsuite/travis: adapt modpath in ex cfg if versioning
Adapt defined modulepaths in example testsuite configuration file
(modulerc and .modulespath) depending if versioning installation mode is
enabled or not.
2017-12-29 17:27:52 +01:00
Xavier Delaruelle
3b3ed9d3f7 testsuite/travis: add an empty .modulespath example
Check behavior when .modulespath exists but does not hold any path to
add to MODULEPATH.
2017-12-28 22:08:47 +01:00
Xavier Delaruelle
a7993020ab testsuite/travis: add an example siteconfig.tcl
Add 'install-testsiteconfig' make target to setup a dummy siteconfig.tcl
file in install_etcdir. Link that to some of the travis checks to run
testsuite with an existing siteconfig.tcl
2017-12-23 18:22:20 +01:00
Xavier Delaruelle
1416a523cd testsuite/travis: rework tests with ex. init config
Use make for test config setup rather direct commands in travis
configuration.
2017-10-25 16:29:04 +02:00
Xavier Delaruelle
7be92494ce testsuite: check various autoinit setup
Add example modulerc and .modulespath configuration and test autoinit
behavior when these examples are installed in init directory.
2017-10-23 22:35:27 +02:00