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
|