2014-07-15 00:40:38 +00:00
|
|
|
|
echo '### --filter-hosts --slf <()'
|
2013-10-21 20:31:52 +00:00
|
|
|
|
### --filter-hosts --slf <()
|
2014-07-15 00:40:38 +00:00
|
|
|
|
parallel --nonall --filter-hosts --slf <(echo localhost) echo OK
|
2013-10-21 20:31:52 +00:00
|
|
|
|
OK
|
2014-07-15 00:40:38 +00:00
|
|
|
|
echo '### --wd no-such-dir - csh'
|
2014-06-23 00:04:37 +00:00
|
|
|
|
### --wd no-such-dir - csh
|
2014-07-15 00:40:38 +00:00
|
|
|
|
stdout parallel --wd /no-such-dir -S csh@localhost echo ::: "ERROR IF PRINTED"; echo Exit code $?
|
2013-12-04 16:12:09 +00:00
|
|
|
|
mkdir: cannot create directory ‘/no-such-dir’: Permission denied
|
2014-06-23 00:04:37 +00:00
|
|
|
|
/no-such-dir: No such file or directory.
|
2013-12-04 16:12:09 +00:00
|
|
|
|
Exit code 1
|
2014-07-15 00:40:38 +00:00
|
|
|
|
echo '### --wd no-such-dir - tcsh'
|
2014-06-23 00:04:37 +00:00
|
|
|
|
### --wd no-such-dir - tcsh
|
2014-07-15 00:40:38 +00:00
|
|
|
|
stdout parallel --wd /no-such-dir -S tcsh@localhost echo ::: "ERROR IF PRINTED"; echo Exit code $?
|
2013-12-04 16:12:09 +00:00
|
|
|
|
mkdir: cannot create directory ‘/no-such-dir’: Permission denied
|
2014-06-23 00:04:37 +00:00
|
|
|
|
/no-such-dir: No such file or directory.
|
2013-12-04 16:12:09 +00:00
|
|
|
|
Exit code 1
|
2014-07-15 00:40:38 +00:00
|
|
|
|
echo '### --wd no-such-dir - bash'
|
2014-06-23 00:04:37 +00:00
|
|
|
|
### --wd no-such-dir - bash
|
2014-07-15 00:40:38 +00:00
|
|
|
|
stdout parallel --wd /no-such-dir -S parallel@localhost echo ::: "ERROR IF PRINTED"; echo Exit code $?
|
2013-12-04 16:12:09 +00:00
|
|
|
|
mkdir: cannot create directory ‘/no-such-dir’: Permission denied
|
|
|
|
|
bash: line 0: cd: /no-such-dir: No such file or directory
|
|
|
|
|
Exit code 1
|
2014-07-15 13:58:31 +00:00
|
|
|
|
echo '### bug #42725: csh with \n in variables'
|
|
|
|
|
### bug #42725: csh with \n in variables
|
|
|
|
|
not_csh() { echo This is not csh/tcsh; }; export -f not_csh; parallel --env not_csh -S csh@lo not_csh ::: 1; parallel --env not_csh -S tcsh@lo not_csh ::: 1; parallel --env not_csh -S parallel@lo not_csh ::: 1;
|
|
|
|
|
CSH/TCSH DO NOT SUPPORT newlines IN VARIABLES/FUNCTIONS
|
|
|
|
|
CSH/TCSH DO NOT SUPPORT newlines IN VARIABLES/FUNCTIONS
|
|
|
|
|
This is not csh/tcsh
|