James E Keenan
053bd6bbd1
Import of tempfile() not used; remove it.
2017-08-14 09:48:36 -04:00
Duncan Ferguson
d41c2b0400
Find fake xterm on systems without it
2016-05-01 09:17:32 +01:00
Duncan Ferguson
0ecf12256d
Fix some tests
2016-04-29 18:40:55 +01:00
Duncan Ferguson
8b8a692b6c
Rework hostname expansion
...
Didn't like relying on the bash shell for expansions - instead recoded it to be pure-perl so it is more cross-platform.
Github issue #53
2016-04-29 18:33:50 +01:00
Duncan Ferguson
454f30978d
Fixed tests on systems where bash is not /bin/bash
...
Some systems, such as BSD, have bash stored in /usr/local/bin
Remove the assumption that bash is /bin/bash
Github issue #60
2016-04-08 21:00:20 +01:00
Duncan Ferguson
b330457f99
Add in bash expansions on hostnames
...
Allow hostnames to be expanded using bash where a { is in the host name definition
Github issue #53
2016-02-13 08:48:20 +00:00
Duncan Ferguson
dc041e730d
Force English locale for all tests
...
Force use of English in tests for the moment, for those users that
have a different locale set, since errors are hardcoded in the test files
2015-11-28 12:38:39 +00:00
Duncan Ferguson
f8ed9da353
Ensure code is run through 'perltidy -pbp -nst -nse'
2014-09-19 23:33:08 +01:00
Duncan Ferguson
f88353d3dd
Fix behaviour when no cluster command defined
...
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:37:34 +01:00
Duncan Ferguson
085803c328
List external clusters
...
List on command line (cssh -L) and in 'add host' dialogue in GUI
2014-07-05 20:26:44 +01:00
Duncan Ferguson
3e2392e9b6
Improve test coverage
2014-07-02 22:39:36 +01:00
Duncan Ferguson
583c8bbe53
Fixed the default cluster not being opened
...
This was due to a method being called in scalar context, which returned incorrect detail
Reported by Aaron C. de Bruyn
2014-01-04 15:07:34 +00:00
Duncan Ferguson
5ea730aff9
Fix tests
2013-04-16 09:23:03 +01:00
Duncan Ferguson
ea811ba639
Run through 'perltidy -pbp'
...
Standardise the code layout
2013-04-15 21:56:19 +01:00
Duncan Ferguson
d7e116e470
Functionality to call external command
...
Code and tests to call the external command
2013-04-15 21:34:05 +01:00
Duncan Ferguson
f1546a0d7d
Resolving tags by external command
...
Start coding up resolving tags by an external command instead of a cluster or tag file
2013-03-25 13:13:03 +00:00
Duncan Ferguson
b2ba4daa46
Start of tags file handling
...
Refactor file loading code into one place since it should all work in a similar way.
Added in tag functionality.
- Cluster files are: tag host host host host
- Tag files are: host tag tag tag
Yes to add in remainder of code to load in the files automatically
2013-03-16 21:56:56 +00:00
Duncan Ferguson
5edca936ed
Fix test when run as root
...
Root user cannot easily be prevented from accessing a no-access file so don't run the test if run as root
2013-02-14 23:35:20 +00:00
Duncan Ferguson
23483ce362
Improve Cluster module functionality
...
Add in extra functionality to load in and record tags and their hosts
2011-11-24 21:47:37 +00:00
Duncan Ferguson
cd4c59b12e
Further work on getting cluster module working
2011-11-21 18:02:26 +00:00
Duncan Ferguson
26e3ab7ef7
Start of cluster module
2011-11-18 22:44:08 +00:00