Commit graph

453 commits

Author SHA1 Message Date
Ole Tange 2029853dd9 parallel: Prepare for open3_setpgrp_internal. Implemented --termseq. Passes testsuite incl. mem. 2015-06-22 01:44:53 +02:00
Ole Tange 6d3892ff84 Passes testsuite. 2015-06-21 19:40:58 +02:00
Ole Tange cb20cd2c8e parallel: Implemented setpgrp. Passes testsuite except for some csh tests. 2015-06-21 10:39:48 +02:00
Ole Tange 2c1ebf9904 parallel: Cleanup 20150607alpha. 2015-06-14 23:43:58 +02:00
Ole Tange 0ab644d156 parallel: kill process groups. Fails for --tty jobs. 2015-06-01 01:11:32 +02:00
Ole Tange 499dfe9acb testsuite: test quoting in all known shells. 2015-05-26 00:08:31 +02:00
Ole Tange 2ca7b7f201 parallel: '-quoting for rc-shell. 2015-05-25 22:07:37 +02:00
Ole Tange ee7ad814aa Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	doc/release_new_version
	src/parallel
	testsuite/wanted-results/parallel-tutorial
2015-05-25 20:26:53 +02:00
Ole Tange 6a6a5e4d01 parallel: Specialized shell_quote_scalar for each shell.
Newline quoting for csh. Empty argument quoted as ''. Passes testsuite.
2015-05-25 02:27:30 +02:00
Ole Tange e892e2fcb6 parallel: killall will kill the family, too. 2015-05-23 18:00:00 +02:00
Ole Tange 1b0c5d4ca7 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel into stable
Conflicts:
	doc/release_new_version
	src/parallel
	testsuite/wanted-results/parallel-tutorial
2015-05-22 00:41:02 +02:00
Ole Tange 39ff23c10d Released as 20150522 ('Nepal') 2015-05-22 00:33:39 +02:00
Ole Tange 6df65fa6ce testsuite: Tests for env_parallel for multiple shells. Passes testsuite. 2015-05-21 23:02:55 +02:00
Ole Tange fd5622b2c6 parallel: --fifo works on csh. 2015-05-15 17:25:19 +02:00
Ole Tange 847fbe125a parallel: Formatting of error messages. Passes testsuite. 2015-05-15 08:47:44 +02:00
Ole Tange ec8f851b6a Merge ../parallel.stable 2015-05-15 02:30:35 +02:00
Ole Tange f290cf9b05 testsuite: Additional --halt testing. 2015-05-15 01:59:57 +02:00
Ole Tange cad4b15dab parallel: Fixed security issue with -S + --fifo/--cat. 2015-05-14 17:17:02 +02:00
Ole Tange d4c347c22b parallel: Implemented --ssh. 2015-05-10 22:52:47 +02:00
Ole Tange 2549b9ba1a parallel: added $PARALLEL_SSH. 2015-05-10 22:23:13 +02:00
Ole Tange 35cbf61ecf parallel: --halt returns 0..100.
Passes testsuite.
2015-05-10 15:02:07 +02:00
Ole Tange 5306f0f396 testsuite: more testing of --halt. 2015-05-07 00:40:36 +02:00
Ole Tange fc0c6cee08 parallel: Fixed bug #44995: parallel echo {#} ::: 1 2 ::: 1 2.
Passes testsuite.
2015-05-03 01:22:34 +02:00
Ole Tange 8110572719 parallel: --halt when,why,num. 2015-04-27 22:56:26 +02:00
Ole Tange 53ebf4dcd0 Passes testsuite. 2015-04-23 01:12:00 +02:00
Ole Tange 4e3e0867b9 parallel: Make tmpname() not create a file. That can cause permission problems if you ssh to a shared filesystem as a different user. 2015-04-23 00:15:23 +02:00
Ole Tange d134e2df4d testsuite: Added pidora to polarhome. 2015-04-22 00:05:41 +02:00
Ole Tange fb41b2384c parallel: killall() reaps children without doing anything else.
--tmux max length adjusted.
Run each testscript in its own $TMPDIR.
2015-04-21 00:08:08 +02:00
Ole Tange d8a1dc1880 parallel: Minimize tmpfile race condition in --cat/--fifo. 2015-04-19 02:55:17 +02:00
Ole Tange b9be3f78ba parallel: Use a perl script wrapper to avoid security issue with race condition:
Attacker symlinks a file that will be created later.
2015-04-17 23:51:45 +02:00
Ole Tange 0148770025 parallel: Minimize time when --compress leaves a file. Passes testsuite. 2015-04-15 22:32:46 +02:00
Ole Tange 0996bbff6b parallel: killall() kills jobs with: TERM, wait, TERM, wait, KILL, KILL rest of family. 2015-04-15 00:55:09 +02:00
Ole Tange d8ec46d2d8 parallel: Kill children if receving TERM or INT. 2015-04-10 01:20:51 +02:00
Ole Tange 338ea44e27 testsuite: Automatic test of command in parallel_tutorial.pod.x 2015-04-04 16:37:32 +02:00
Ole Tange b5c67823d6 parallel: FreeBSD specific bugs. 2015-03-29 05:28:57 +02:00
Ole Tange fa72e99c16 parallel: Allow for running command called ' ' on MacOSX. 2015-03-28 14:24:15 +01:00
Ole Tange 41e2f0a7f9 Fixed bug #44460: --files --tag does not work. 2015-03-28 12:14:30 +01:00
Ole Tange 57c8ca0823 Fixed bug #44614: --pipepart --header off by one. 2015-03-25 00:14:50 +01:00
Ole Tange be70739bb7 parallel: functions needs to be exported when using --nice remotely. 2015-03-22 17:13:25 +01:00
Ole Tange ebf4242ea8 Fixed bug #44546: If --compress-program fails: fail.
Passes testsuite.
2015-03-22 01:53:19 +01:00
Ole Tange 8eae0edbbb parallel: Deal with disk full when starting. 2015-03-17 21:36:12 +01:00
Ole Tange 815d00ac38 parallel: More general --tmux length detection. 2015-03-17 20:44:09 +01:00
Ole Tange 8990c7bb42 Fixed bug #44553: --rpl should replace the longest expression first. 2015-03-16 19:51:08 +01:00
Ole Tange 32b6dc4ba5 testsuite: Better test of --tty. 2015-03-08 10:37:49 +01:00
Ole Tange 0b99f96151 Fixed bug #44143: csh and nice. 2015-03-08 01:10:24 +01:00
Ole Tange 26a94004c9 Fixed bug #44371: --trc with csh complains 2015-03-07 23:41:45 +01:00
Ole Tange d0fb3a103f Fixed bug #43746: --transfer and --return of multiple inputs {1} and {2} 2015-03-07 23:22:10 +01:00
Ole Tange 4ef66ec7f6 testsuite for 2GB issues on some Perl versions.
Memory heavy jobs (>2 GB) moved to parallel-local-mem.sh.
Passes testsuite.
2015-03-07 17:49:16 +01:00
Ole Tange 9c73947d9f parallel: --joblog records input and output data as Send/Receive. 2015-03-07 03:45:13 +01:00
Ole Tange d65fa2a35d Fixed --number-of-cores for hpux-ia64. 2015-03-04 00:12:00 +01:00
Ole Tange 96cfacb830 Fixed bug #44250: pxz complains File format not recognized but decompresses anyway. 2015-03-03 01:05:36 +01:00
Ole Tange d19de35acb Fixed bug #44350: --tagstring should support \t. 2015-02-24 23:36:32 +01:00
Ole Tange 2dee8e452b Fixed bug #44358: 2 GB records cause problems for -N. 2015-02-24 23:23:18 +01:00
Ole Tange a9dc4f3ea4 parallel: Rewrite of --tmux. Fixed some csh issues. 2015-02-22 15:09:26 +01:00
Ole Tange 3549c38b0f Fixed bug #44148: csh long vars fail exporting. 2015-02-01 21:46:06 +01:00
Ole Tange 61b0e48030 testsuite: Cleanup after running. 2015-02-01 16:57:31 +01:00
Ole Tange 927cf13b0c testsuite: Cleanup after each test. 2015-02-01 14:38:26 +01:00
Ole Tange 67c85d7658 Fixed bug #43923: test65 broken. 2015-02-01 14:31:44 +01:00
Ole Tange 259820f48c Released as 20150122 (' (((:~{> Je Suis Charlie'). 2015-01-21 22:24:23 +01:00
Ole Tange e4c97e4bd1 testsuite: Fixup. Passes testsuite. 2015-01-20 22:08:52 +01:00
Ole Tange 92e65305df testsuite: Special char file and dir transfer return and cleanup. 2015-01-19 00:08:07 +01:00
Ole Tange 8c4f4c2b20 parallel: Test for bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash). 2015-01-18 22:09:30 +01:00
Ole Tange b784f4eca6 parallel: --pipe --cat tested with csh. 2015-01-18 00:20:38 +01:00
Ole Tange 2c3fd52197 Released as 20150109alpha. 2015-01-09 00:00:21 +01:00
Ole Tange 3d01e955bf Bug fix: Trailing space in sshlogin http://lists.gnu.org/archive/html/bug-parallel/2015-01/msg00000.html 2015-01-06 23:34:45 +01:00
Ole Tange 8d3bc91cc0 testsuite: --joblog added to many tests. 2015-01-03 18:57:37 +01:00
Ole Tange 40668af537 sem: --semaphoretimeout <negative value> means: Exit if no semaphore gotten. 2015-01-03 14:48:01 +01:00
Ole Tange 6b2811a07f testsuite: Minor fixup. Passes testsuite. 2015-01-02 22:36:41 +01:00
Ole Tange 3d2ecc7651 parallel: Commands longer than 1000 chars are bzip2'ed + hex encoded due to csh limit. 2015-01-02 22:35:30 +01:00
Ole Tange 3071e28c15 parallel: Implemented --halt -1 and --halt -2. 2015-01-02 22:33:33 +01:00
Ole Tange ad163a999e sem: --fg --line-buffer failed. 2015-01-02 22:33:32 +01:00
Ole Tange 11a05ca1a3 parallel: Fixed bug #42493: --sshlogin does not send stderr to stderr. 2015-01-02 22:33:32 +01:00
Ole Tange fe08937ea9 parallel: Avoid using Tie::RefHash. Passes test-suite. 2015-01-02 22:33:28 +01:00
Ole Tange 4e9170978a parallel: quoting of replacement string. 2015-01-02 22:32:17 +01:00
Ole Tange ed45661bf7 parallel: quoting of ^ has changed. 2015-01-02 22:32:17 +01:00
Ole Tange 0c8761689c Fixed bug #43817: Some JP char cause problems in positional replacement string 2015-01-02 22:32:17 +01:00
Ole Tange 445e154250 parallel: Deal with {} as part of the command (not arg for the command). 2015-01-02 22:32:16 +01:00
Ole Tange 2b33c5b034 parallel: Fixed {= {= =} =}, {= =}=}, {={= =}
Conflicts:
	doc/release_new_version
2015-01-02 22:32:00 +01:00
Ole Tange d94aa91ad1 Fixed bug #43654: --bar with command not using {}. 2014-11-23 01:31:33 +01:00
Ole Tange 763dd12caa Fixed env_parallel so it works post-shell-shock. 2014-11-15 15:25:19 +01:00
Ole Tange dce64026cc Fixed bug --pipe --linebuffer --round does not distribute if the consumer is fast. 2014-11-14 01:00:56 +01:00
Ole Tange 1dd2d6a601 Fixed bug #43600: --pipe --linebuffer --round does not work. 2014-11-13 17:03:36 +01:00
Ole Tange 2fb56b5755 src/parallel: -S @hostgroup implemented. 2014-11-13 16:57:41 +01:00
Ole Tange e9b3387a7b Test suite for --hostgroup. 2014-11-13 04:19:33 +01:00
Ole Tange 8563f3f95a Fixed bug #43567: --env + --filter_hosts + function fails 2014-11-10 00:29:42 +01:00
Ole Tange ee6d07d49b Fixes bug #43518: GNU Parallel doesn't obey servers' jobs capacity when an ssh login file is reloaded 2014-11-07 11:05:24 +01:00
Ole Tange 7c33ff6850 Passes testsuite. 2014-10-26 09:16:56 +01:00
Ole Tange e38668f1f9 niceload: Fixed deepusleep bug introduced last month. 2014-10-25 12:44:10 +02:00
Ole Tange 2ff435caea parallel: sub wrapper implemented. Passed most of the testsuite. 2014-10-24 11:30:39 +02:00
Ole Tange c4100ef3d7 parallel: passes testsuite. 2014-10-22 21:59:06 +02:00
Ole Tange 2719d3484d Testsuite for bug #43358: shellshock breaks exporting functions using --env 2014-10-16 00:37:02 +02:00
Ole Tange 1aa965256c Test of bug #43376: {%} and {#} with --pipe. 2014-10-14 22:56:03 +02:00
Ole Tange f7b2b1513c Released as 20141009alpha. 2014-10-09 22:21:28 +02:00
Ole Tange dee7e98321 Fixed bug #43284: {%} and {#} with --xapply. 2014-09-23 20:14:57 +02:00
Ole Tange 028e24274f Passes testsuite. 2014-09-20 21:36:02 +02:00
Ole Tange 75d055970f parallel: Code re-org to remove $Private::variables. 2014-08-27 23:29:15 +02:00
Ole Tange 53883d3e31 parallel-local22.sh: Testsuite for #42999. 2014-08-25 07:06:13 +02:00
Ole Tange 6df2491b81 Passes testsuite. 2014-08-22 23:30:39 +02:00
Ole Tange fe1f91776a parallel: Preparations for transfering full environment using $parallel_bash_environment.
Better error message if 'file not found' for -a --pipepart.
Allow for forcing 0 CPUs using 0/sshlogin.
Round fractional wanted CPUs up.
2014-08-15 00:12:23 +02:00
Ole Tange d02f31b05c Fixed bug #42913: Dont use $SHELL but the shell currently running 2014-08-05 11:37:58 +02:00
Ole Tange f613b12721 Testsuite for bug #42892: parallel -a nonexiting --pipepart. 2014-08-04 15:25:34 +02:00
Ole Tange 3064f4832b Test for bug #42902: profiles containing arguments with space. 2014-08-04 15:16:58 +02:00
Ole Tange 64998ab628 bug #42893: --block should not cause decimals in cat_partial.
tempfile must respect $TMPDIR.
disk full check bug fixed and tested on multiple filesystems.
2014-07-31 22:50:33 +02:00
Ole Tange af23562d99 parallel: Fixed bug #42842: --bar with weird chars. Fixed bug #42845: rsync 3.1.x fails against 2.5.7.
Give warning if reading arguments (for --eta/--bar) takes > 30 sec.
A few more characters annoy tmux.
parallel.pod: Bash array copy function.
2014-07-28 00:30:54 +02:00
Ole Tange 9a25177a19 eval $perlexpr as function. Added --plus. Forced --noctrlc if --controlmaster.
Added CITATION. --title for pod2html. Testsuite updates due to LinuxMint15/17 diffs.
2014-07-26 13:17:13 +02:00
Ole Tange 6a4bd4911b wanted-results/parallel-local13: Perl v5.18 considers ^K whitespace (\s) 2014-07-26 09:10:09 +02:00
Ole Tange 9bb46c6ed6 Released as 20140722 ('MH17'). 2014-07-22 06:47:30 +02:00
Ole Tange 546f5aea03 parallel: --return /./ fixed. 2014-07-21 17:07:48 +02:00
Ole Tange 1a1c0ebe0f parallel: Initial version of --tmux. 2014-07-16 11:07:41 +02:00
Ole Tange 1cf521971f Fixed bug #42055: --pipe -a bigfile should not require sequential reading of bigfile. 2014-07-15 18:02:58 +02:00
Ole Tange 9c58321482 Fixed bug #42725: csh with \n in variables 2014-07-15 15:58:31 +02:00
Ole Tange 99a8c5bbe7 testsuite: use -v for easier locating failig command. Oracle now uses oracle13.tange.dk. 2014-07-15 02:40:38 +02:00
Ole Tange 4995630a62 {= perlexpr =} passes testsuite. 2014-07-14 18:25:45 +02:00
Ole Tange 9fed0bfa17 parallel: {{perl exp}} implemented (poorly). 2014-06-26 01:16:54 +02:00
Ole Tange d8161294b2 Testsuite passing. 2014-06-23 02:04:37 +02:00
Ole Tange 511623aa70 bug #42041: Implement $PARALLEL_JOBSLOT {%}. tutorial + test. 2014-06-04 21:48:24 +02:00
Ole Tange 5f30c90c35 parallel: bug #42041: Implement $PARALLEL_JOBSLOT 2014-06-04 02:22:39 +02:00
Ole Tange 92366d743e Released as 20140X22 ('Boko Haram'). 2014-05-22 14:53:33 +02:00
Ole Tange 7a018602da parallel: Fixed: bug #42329: --line-buffer gives wrong output 2014-05-12 09:27:28 +02:00
Ole Tange 862e41c8a4 parallel: --recend --recstart '\0' fixed. 2014-05-04 00:42:52 +02:00
Ole Tange d36cb5a2dd Released as 20140422 ('세월호'). 2014-04-22 12:03:41 +02:00
Ole Tange a57506d628 wanted-results/parallel-polarhome: minix.polarhome does not allow for keyed login now. 2014-04-22 11:08:40 +02:00
Ole Tange cf358529b9 Fixed bug #42089: --results with arg > 256 chars. 2014-04-19 10:11:32 +02:00
Ole Tange 19bdd17c63 parallel: MaxSessions should also be raised if MaxStartups is raised. 2014-03-27 09:55:12 +01:00
Ole Tange 06d55fcec3 Fixed: bug #41964: --controlmaster not seems to reuse OpenSSH connections to the same host. 2014-03-27 03:02:18 +01:00
Ole Tange d6235b0cc3 parallel: Fixed bug #41805: Idea: propagate --env for parallel --number-of-cores 2014-03-24 15:49:49 +01:00
Ole Tange 84ab59fb97 Fixed bug #41749: make install fails 2014-03-23 17:41:15 +01:00
Ole Tange 94ce0d8f9f parallel: Fix --line-buffer problem with missing \n for last record. Passes testsuite. 2014-03-22 12:38:45 +01:00
Ole Tange 583e6fb4b7 Fixed bug #38908: niceload: Ctrl-C should resume jobs if using -p 2014-03-03 19:26:19 +01:00
Ole Tange 6fc02c1fc8 parallel: FreeBSD testsuite. 2014-03-03 11:42:04 +01:00
Ole Tange faff0ebb1e parallel: Fixed bug #41613: --compress --line-buffer. With testsuite. 2014-03-02 14:36:43 +01:00
Ole Tange 36b22df1f3 Passes testsuite. 2014-02-22 11:05:59 +01:00
Ole Tange 9aaa763447 parallel: --compress passes tests. 2014-02-21 04:07:56 +01:00
Ole Tange 18ce76f598 Fixed too many spawned jobs in --pipe --files. 2014-02-17 22:25:42 +01:00
Ole Tange 816f851488 testsuite: test --line-buffer --pipe 2014-02-16 21:53:15 +01:00
Ole Tange be7ebcef23 parallel: Fixed bug #41609: --compress fails 2014-02-16 18:57:57 +01:00
Ole Tange 7df7758404 Code cleanup. 2014-02-16 16:34:47 +01:00
Ole Tange 846085cfd3 parallel: Converted ->fd to 4 file format. Passes testsuite. 2014-02-16 13:51:52 +01:00
Ole Tange 3447f2da85 parallel: Fixed bug #41565: Print happens in block - not after each job complete. Passes test suite. 2014-02-15 14:10:52 +01:00
Ole Tange e014e33743 parallel: ETA format changed. SHM+joblog testsuite fixed. 2014-02-14 00:10:49 +01:00
Ole Tange 213e49c073 parallel: Fixed bug #41409: -N + -S fails by halfing max command line length if sshlogin <> : 2014-02-04 20:08:36 +01:00
Ole Tange c1e6d7962e parallel: bug #41412: --timeout + --delay causes deadlock. 2014-01-31 20:45:15 +01:00
Ole Tange 5a5023d97e Passes testsuite. 2014-01-22 02:54:18 +01:00
Ole Tange 96010cc2ed parallel: --gnu was ignored if env var started with space: PARALLEL=' --gnu' 2014-01-13 04:57:40 +01:00
Ole Tange 78f6607159 load-parallel-results.r: R funcction to load results into R. 2014-01-04 08:11:02 +01:00
Ole Tange b73488d761 parallel: Maybe fixed bug #41038: loadavg_file-r 2013-12-31 16:28:30 +01:00
Ole Tange bfb01e89df testsuite: Fixup of polarhome and added X.Xs.sh. 2013-12-19 02:19:19 +01:00
Ole Tange fbfd7d3bf7 parallel: Detection of CPU on Tru64. 2013-12-06 00:21:21 +01:00
Ole Tange 6a71285bb6 parallel: Fixed bug if --wd does not exists. Incl test. 2013-12-04 17:12:09 +01:00
Ole Tange 3a6be8a6ec parallel: test of $TMPDIR running full. 2013-12-01 14:42:04 +01:00