Commit graph

675 commits

Author SHA1 Message Date
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
Ole Tange 8e8ffb898f sql: --list-tables for sqlite incl test. 2013-11-29 23:30:50 +01:00
Ole Tange f4db50264a parallel: --filter-host with --delay and --retries. Incl test. 2013-11-28 16:05:25 +01:00
Ole Tange b1d3013f50 Ported testsuite to new testmachine (aspire). 2013-11-22 18:24:09 +01:00
Ole Tange dbcead04ba src/parallel: --transfer files with /./ as relative to --workdir. 2013-10-21 22:31:52 +02:00
Ole Tange 7ffba8f544 Fixed bug #40132: FreeBSD: --workdir . gives warning if . == $HOME. 2013-09-28 17:55:04 +02:00
Ole Tange 358b9091f6 parallel: Fixed bug #40137: SHELL not bash: Warning when exporting funcs. 2013-09-28 17:44:54 +02:00
Ole Tange 2bbfdfec60 parallel: Fixed bug #40001: --joblog and --nonall seem not to work together: 2013-09-28 15:59:03 +02:00
Ole Tange a6eb7a78c6 Released as 20130922 ('Manning'). 2013-09-21 20:47:27 +02:00
Ole Tange 81a8a116b7 parallel: --pipe can now only read from STDIN. 2013-08-21 17:04:33 +02:00
Ole Tange 73c7f844d7 testsuite: --shebang-wrap for Octave, Python. Perl, GnuPlot, R, Ruby, Bash.
10seconds_install: Try curl.
Makefile: parallel.html dependency.
parallel: Printing joblog => print_joblog.
parallel.pod: Removed TinyOgg.
testsuite: Minor fixups.
2013-08-19 11:15:39 +02:00
Ole Tange 6961852117 Fixed --header bug for multiline headers. +testsuite.
Allow for --timeout 200.5% (float).
--workdir . --transfer fixed.
2013-08-17 18:24:51 +02:00
Ole Tange be6fe3846f parallel: Bugfix for -k --timeout used in --filter-host.
--sshloginfile is now searched for in . too.
--timeout more efficient.
Passes testsuite.
2013-08-16 13:11:35 +02:00
Ole Tange 96ba577d85 src/parallel: Fixed bug #39787: --xargs broken; incl test. --delay fixed; incl test. 2013-08-15 19:38:39 +02:00
Ole Tange ee529c2d2a parallel: --record_env and --env _ implemented. Passes test suite. 2013-08-14 20:11:00 +02:00
Ole Tange df204a69fa Test suite for bug #39554: Feature request: line buffered output. 2013-07-30 23:15:40 +02:00
Ole Tange 88540d06a7 testsuite bug #39572: --tty and --joblog do not work.
Passes local testsuite.
2013-07-30 21:21:08 +02:00
Ole Tange dd1a637822 parallel: Use file descriptors instead of STDOUT/STDERR.
Fixed up Polarhome tests.
Passes testsuite.
2013-07-19 19:13:00 +02:00
Ole Tange 56e5118535 src/parallel: Deal with unset $HOME. 2013-07-12 21:19:53 +02:00
Ole Tange 111fa14f57 testsuite: ### bug #39360: --joblog does not work with --pipe. 2013-07-04 17:31:36 +02:00
Ole Tange 8f26244149 testsuite for bug #39360: --joblog does not work with --pipe. 2013-07-04 17:20:50 +02:00
Ole Tange c1f6354375 parallel: Re-fixed bug #37042: -J foo is taken from the whole command line - not just the part before the command 2013-07-04 00:50:08 +02:00
Ole Tange 85ab036518 Released as 20130622 ('Snowden'). 2013-06-22 14:50:48 +02:00
Ole Tange 22f2eedff8 testsuite: Start and stop VirtualBoxes as needed. 2013-06-15 16:12:02 +02:00
Ole Tange 85ab16e26a parallel: Exponential backoff and backon sleep between jobs. 2013-05-26 08:26:18 +02:00
Ole Tange e377032c5d parallel: Work around for "tcgetattr: Invalid argument" in old OpenSSHs. 2013-05-22 00:29:41 +02:00
Ole Tange 0608b23da3 Passes testsuite. 2013-05-16 22:49:17 +02:00
Ole Tange 5b0be9941c parallel: Code cleanup. Passes local testsuite. 2013-05-11 12:53:17 +02:00
Ole Tange 865f83c4fb Released as 20130422 ('Boston'). 2013-04-21 23:33:02 +02:00
Ole Tange bb0ef1c4cc Passes testsuite. 2013-04-11 21:55:33 +02:00
Ole Tange 0706a95802 testsuite: Polarhome added. 2013-04-08 21:17:59 +02:00
Ole Tange 828843fa15 testsuite: --env test now much faster.
parallel: Small code cleanup.
2013-03-24 19:36:56 +01:00
Ole Tange bad78163c7 Passes testsuite. 2013-03-24 17:24:59 +01:00
Ole Tange 03b9e9ddcf testsuite: results depending on virtualhosts. 2013-03-23 21:42:08 +01:00
Ole Tange ab7f892cba testsuite reorg. 2013-03-23 21:39:48 +01:00
Ole Tange 7a8bd820ac src/parallel: If --load is a file: Recheck it every time max_loadavg is called. 2013-03-23 21:36:17 +01:00
Ole Tange 3b752a668c Fixed bug #38441: CPU usage goes to 100% if load is higher than --load at first job. 2013-03-07 00:16:53 +01:00
Ole Tange 93dd376c69 Fixed bug #38439: "open files" with --files --pipe blocks after a while. 2013-03-04 21:50:51 +01:00
Ole Tange d5fa05b425 Fixed bug #38354: -J profile_name should read from pwd/profile_name before ~/.parallel/profile_name 2013-03-03 13:45:31 +01:00
Ole Tange 21c62a2545 Small adjustments. Passes testsuite. 2013-02-14 23:08:17 +01:00
Ole Tange cf38b9078c parallel: --keep-order --resume-failed works. 2013-02-13 01:15:37 +01:00
Ole Tange 9e0541c95a testsuite: Passes testsuite. 'timeout' removed as it did not work. 2013-02-04 22:39:32 +01:00
Ole Tange 193935f0e5 parallel: More efficient --pile -L. Passes testsuite-local. 2013-02-02 22:20:36 +01:00
Ole Tange a92f10b6ee testsuite: Nicer test with -l --block. 2013-02-01 20:42:45 +01:00
Ole Tange 8d7e0f4a4f testsuite: Test for --sshdelay. Fixed other tests. 2013-01-21 23:10:34 +01:00
Ole Tange d847c932f5 Version update. Small --tty test. 2013-01-09 23:06:01 +01:00
Ole Tange 2c641b47d0 testsuite: reorg. 2012-12-28 21:30:30 +01:00
Ole Tange 3dc78c8715 testsuite: parallelized a few tests. 2012-12-28 11:46:35 +01:00
Ole Tange 1cea71c611 Released as 20121222 ('End of The World'). 2012-12-22 17:23:10 +01:00
Ole Tange b6056bb876 Fixed: bug #37956: --colsep does not default to '\t' as specified in the man page. 2012-12-19 15:37:36 +01:00
Ole Tange fd6044b0dc niceload: --prg implemented. 2012-12-10 23:16:25 +01:00
Ole Tange 80d83aa489 niceload: multiple -p 2012-12-10 21:57:00 +01:00
Ole Tange 22a9ac5390 parallel: bug #37849: --results should create subdirs. With test. 2012-12-03 23:28:10 +01:00
Ole Tange 59a1d67b59 niceload: test + bugfix for --sensor 2012-12-03 00:02:51 +01:00
Ole Tange 111c7384f7 niceload --sensor ... -l with negative number means: Run if values less than number. 2012-12-02 21:11:27 +01:00
Ole Tange bc0f7701ec Implemented --delay. 2012-11-26 22:57:07 +01:00
Ole Tange 4688ba04c9 parallel: Fixed bug #37680: --wd ... not working 2012-11-26 21:19:14 +01:00
Ole Tange 6921d28f9a parallel: Fixed bug #37325: Inefficiency of --pipe -L 2012-11-26 00:19:58 +01:00
Ole Tange a8a451c60c Fixed bug #37694: Empty string argument skipped when using --quote 2012-11-24 17:33:15 +01:00
Ole Tange d720e7959c parallel: $::opt => $opt::. Passes unittest. 2012-11-23 00:57:35 +01:00
Ole Tange 54e3e264a3 testsuite for --shebang-wrap. :::: is suboptimal. 2012-11-22 23:19:00 +01:00
Ole Tange 0b1896c368 parallel --shebang-warp for ::: works. 2012-11-22 12:10:45 +01:00
Ole Tange 70052b8b68 testsuite: new tests. 2012-11-21 22:32:50 +01:00
Ole Tange 6748cf82c8 Unittest adapted. 2012-11-21 22:28:52 +01:00
Ole Tange 4fe6902d52 testsuite: Moved to parallel-local16..18. 2012-11-20 00:50:32 +01:00
Ole Tange ce19870938 testsuite: Less fragile. 2012-11-20 00:42:19 +01:00
Ole Tange 9c8a03bdf2 testsuite: niceload: The most fragile tests split off. 2012-11-20 00:39:25 +01:00
Ole Tange eb0bc7fb6c testsuite: added FreeBSD7 virtualbox. 2012-11-20 00:34:51 +01:00
Ole Tange f6a6a35309 testsuite: niceload impoved. Fewer --env tests. 2012-10-22 23:08:54 +02:00
Ole Tange 75f54b795f testsuite: virtualbox added. Other tests made more portable. 2012-10-22 08:32:39 +02:00
Ole Tange d9675d0bd0 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	src/parallel
	testsuite/tests-to-run/parallel-local2.sh
2012-10-17 02:16:01 +02:00
Ole Tange fcaf41b325 parallel: Fixed to pass local testsuite and some Perl::Critic issues. 2012-10-17 02:09:03 +02:00
Ole Tange dd5093f8b4 parallel: --env includes test + man and works for t?csh, too. 2012-10-15 15:47:10 +02:00
Ole Tange 7a2e3d731b parallel: fixed --results if argument contains \t \0 and /. This may have destroyed default --colsep=\t. 2012-10-01 11:30:16 +02:00
Ole Tange c8051ced91 parallel: --results now with header \t value filenames. 2012-10-01 00:04:52 +02:00
Ole Tange b6a729c5f7 testsuite: mop removed. Works better on heavy loaded machine. 2012-08-08 23:57:01 +02:00
Ole Tange 594ca7576a testsuite: Getting rid of 'mop'. 2012-08-08 22:39:50 +02:00
Ole Tange ec76d20b25 parallel: --plain + man + test implemented. Passes testsuite. 2012-08-08 21:25:18 +02:00
Ole Tange 783d2d42f3 parallel: Error and warning sub to ensure consistent errors and warnings. 2012-08-08 18:38:29 +02:00
Ole Tange ed6903976b Better support for limited number of processes in process table. 2012-08-07 00:52:08 +02:00
Ole Tange 9625fe4453 Released as 20120722 ('Nai Soi') 2012-07-24 02:09:47 +02:00
Ole Tange 888c5999a2 Passes testsuite. 2012-06-15 00:46:15 +02:00
Ole Tange 05e66ecaa5 Fixed bug #34958: --pipe with --record size measured in lines. 2012-06-14 23:13:11 +02:00
Ole Tange 7a76e79185 Fixed bug #36657: --load does not work with custom ssh. 2012-06-14 22:30:24 +02:00
Ole Tange 67d4db2279 Fixed bug #36660: --workdir mkdir does not use --sshlogin custom ssh. 2012-06-14 22:19:49 +02:00
Ole Tange 72402ef16e Fixed bug #36659: --sshlogin strips leading slash from ssh command. 2012-06-14 22:10:39 +02:00
Ole Tange f8d0d43c7b Passes test suite. 2012-06-08 23:24:54 +02:00
Ole Tange 38ccd3f193 Fixed with test: bug #36595: silent loss of input with --pipe and --sshlogin. 2012-06-08 01:07:25 +02:00
Ole Tange 22b295cef1 parallel: --pipe now forks instead of busy looping. 2012-05-24 02:03:57 +02:00
Ole Tange 91899593fc Released as 20120522 ('Hollande'). 2012-05-22 20:36:20 +02:00
Ole Tange 398e78e8cd Passes testsuite. 2012-05-13 16:32:46 +02:00
Ole Tange b35e5ff721 Reorg of testsuite. 2012-05-13 16:03:41 +02:00
Ole Tange 1371108e64 Fixed with test: Test bug #35820: sem breaks if $HOME is not writable 2012-05-13 16:03:13 +02:00
Ole Tange 29726eee6e parallel: added --tagstring + man + test.
parallel.pod: Elaborated on problems with -u.
2012-05-06 12:43:40 +02:00
Ole Tange 944cfd0026 testsuite: added target 'local' for local tests. Removed some empty tests. 2012-05-06 00:20:10 +02:00
Ole Tange 129ebd4fab testsuite: Renamed files that can run without network. 2012-05-06 00:02:08 +02:00
Ole Tange 6485581f5a parallel: test for --er and --extensionreplace 2012-04-24 23:59:29 +02:00
Ole Tange 243d3f2c48 Released as 20120422 ('Mærsk'). 2012-04-22 00:14:20 +02:00
Ole Tange 463ec5bc0b Fixed: bug #36151: swap_activity broken in v20120322. Passes testsuite. 2012-04-21 00:34:24 +02:00
Ole Tange 457320998f Fixed: bug #36260: {n} expansion in --colsep files fails for empty fields if all following fields are also empty 2012-04-20 20:49:40 +02:00
Ole Tange f4f5fdd6c6 Fixed: bug #36139: --load causes parallel not to finish 2012-04-09 16:31:05 +02:00
Ole Tange f08db40a33 bug #35427: quoting of {2} broken for --onall.
bug #35803: sentence structure / wrong spelling in manpage.
2012-03-12 23:38:38 +01:00
Ole Tange 513089c881 Fixed bug #35469: niceload --process" doesn't work after July-2011 release. 2012-03-04 02:24:37 +01:00
Ole Tange bcebac44b1 bug #35544: --pipe would read from :::: (-a) 2012-02-27 01:51:54 +01:00
Ole Tange 9fd2f95bf3 OBS did not compile due to missing pod2texi. 2012-02-21 20:06:23 +00:00
Ole Tange 3e996c9a57 --wd . implemented. Passes testsuite. 2012-02-20 00:48:28 +00:00
Ole Tange 5e8e95ecf0 parallel: --header with {colnames} for multiple :::'s 2012-01-22 04:42:05 +01:00
Ole Tange 7d75bde672 parallel: Fixed regression bug. 2012-01-11 23:07:31 +01:00
Ole Tange c34e6c489c parallel: --header with regexp (try: --header '\n') 2012-01-11 00:08:23 +01:00
Ole Tange 08e1366c5d parallel: limit memory consumption if only 1 input source. 2012-01-10 21:58:39 +01:00
Ole Tange 3009913a66 bug #35268: shell_quote doesn't treats [] brackets correctly.
Merging of tests.
2012-01-10 00:09:01 +01:00
Ole Tange 7bd02750a5 niceload now propagates exit status correctly. Passes testsuite. 2012-01-08 19:52:00 +01:00
Ole Tange 92d7c462e7 parallel: --header will now parse the first line and you can use column names as {colname}. Experimental => man missing. 2012-01-07 04:22:48 +01:00
Ole Tange 8c4b0ba4b9 parallel: --header will now parse the first line and you can use column names as {colname}. 2012-01-07 04:17:13 +01:00
Ole Tange fc65ca9626 parallel: implemented --resume incl. test. 2012-01-07 03:29:48 +01:00
Ole Tange dbfb878246 parallel: retired -g -B -T -U -W -Y 2012-01-07 02:24:50 +01:00
Ole Tange 6f3da78d6c bug #35069: --pipe without command should give reasonable error message. 2011-12-18 21:49:37 +01:00
Ole Tange 637f5391af -S + --timeout did not repect --timeout. 2011-12-11 00:16:41 +01:00
Ole Tange 8a7f45c6a2 Fixed bug #34955: Timed-out processes are not identified as failures.
Fixed bug #34954: --timeout should kill process groups.
Released as 20111209 alpha.
2011-12-09 23:25:20 +01:00
Ole Tange 140337dc73 Released as 20111122 ('Silvio'). 2011-11-22 22:38:57 +01:00
Ole Tange 8caad4be8a test-suite: Full path for nice. 2011-11-22 21:12:01 +01:00
Ole Tange 4612f69097 parallel: tcsh does not allow 'nice -n19', so use full path for nice. 2011-11-15 01:15:23 +01:00
Ole Tange 30d936bd9b Released as 20111022 ('Steve Richie'). 2011-10-23 02:28:51 +02:00
Ole Tange 0cd02204c4 parallel: Multiple --sshloginfile supported. Passes testsuite. 2011-10-17 03:10:32 +02:00
Ole Tange a25961d8d5 parallel: support for multiple --profile. 2011-10-13 23:58:02 +02:00
Ole Tange 50edcdd38d parallel.pod: Example of --tag with uptime 2011-10-10 22:20:18 +02:00
Ole Tange 986f69db11 parallel: fixed bug #33995: Jobs executed with sh instead of $SHELL 2011-09-24 02:35:16 +02:00
Ole Tange 9fad573774 parallel: implemented --tag 2011-09-24 02:16:06 +02:00
Ole Tange d0f6c9a0aa parallel: { and } were not quoted correctly so this would fail:
echo a b | parallel --pipe -q awk '{print $2, $1}'
2011-09-16 15:26:17 +02:00
Ole Tange c48c5fb7b9 parallel: Implemented --shellquote 2011-09-09 21:15:00 +02:00
Ole Tange 795c0fa3bd Fixes: bug #34240: --pipe does not respect -r 2011-09-08 10:53:26 +02:00
Ole Tange 38b1fe9a41 Implemented --timeout with testsuite. Updated man page for release. 2011-08-22 01:01:57 +02:00
Ole Tange 11ff97cd2e testsuite passes. 2011-08-21 00:39:14 +02:00
Ole Tange 0648fc5846 parallel: --nonall/onall now respect --basefile. Does NOT pass testsuite. 2011-08-20 21:13:25 +02:00
Ole Tange 6d242f975e testsuite more parallel. Passes testsuite. 2011-07-29 13:45:34 +02:00
Ole Tange ab899c36a6 parallel: fixed with test case bug #33623: --load doesn't parse percentage or filename arguments.
parallel: Empty job caused not being run in parallel.
2011-07-28 21:09:27 +02:00
Ole Tange 8d13ddebbe niceload: --recheck was not respected. More test suite cases.
alpha/beta testing in man page updated.
2011-07-22 10:47:14 +02:00
Ole Tange e93df253fc testsuite: niceload redone. Some tests are now run in parallel. Passes testsuite. 2011-07-21 01:58:23 +02:00
Ole Tange c2a2b34abf Fixed bug #33740: If the remote computer runs CSH the remote does not set PARALLEL_* vars correctly. 2011-07-17 03:03:57 +02:00
Ole Tange cf2b12eea8 Fixed bug #33743: -q quotes # in {#}. 2011-07-17 02:22:39 +02:00
Ole Tange fe8a8aa41b Fixed bug #33630: -L and -N do not do context replace.
--bner alias for --basenameextensionreplace.
2011-07-17 01:46:02 +02:00
Ole Tange ccaa30b4c3 parallel: Fixes #33621: --bg -p should give an error message.
Includes testsuite.
Fixup of error msgs.
2011-06-23 00:12:16 +02:00
Ole Tange 6bcba83499 parallel: Fixed -u with test. Passes testsuite. 2011-06-22 01:14:59 +02:00
Ole Tange be3dfd01de parallel: Added test for --joblog 2011-06-12 01:43:34 +02:00
Ole Tange 780f000c92 parallel: added exit Signal to --joblog 2011-06-12 01:19:29 +02:00
Ole Tange ac928cf936 parallel: added '-' as valid input file for -S. Fixed bug for empty lines '| parallel'. 2011-06-03 14:53:14 +02:00
Ole Tange 64f0579195 parallel: -X {1}-{2} with multiple input sources. Passes testsuite. 2011-06-01 00:02:29 +02:00
Ole Tange f05105ab62 test61: More tests with -X {}-{.} with multiple input sources 2011-05-31 23:12:03 +02:00
Ole Tange 0979c6009e Added test for multiple {} in a composed command 2011-05-31 20:48:00 +02:00
Ole Tange 8d8335728a Added simple test for --return of weirdly named file 2011-05-31 20:04:46 +02:00
Ole Tange 5377e4d66d Added test for {//} 2011-05-31 19:54:14 +02:00
Ole Tange bd18c891fc Fixed race condition in test 2011-05-31 19:53:25 +02:00
Ole Tange b84663bac8 parallel: test added for --onall 2011-05-28 16:33:22 +02:00
Ole Tange 59ddc7b75d parallel: Fixed https://savannah.gnu.org/bugs/index.php?33352
Passes testsuite.
2011-05-21 08:43:55 +02:00
Ole Tange 8fb1966254 test fixup. Passes test suite. 2011-05-14 01:03:09 +02:00
Ole Tange ba6af9c3d2 parallel: :::: - (stdin) also works. Test added for ::: and :::: 2011-05-05 18:52:23 +02:00
Ole Tange cb9474a8f6 parallel: Passes testsuite 2011-04-28 12:38:38 +02:00
Ole Tange a63e258bb1 parallel: Implemented {//}. Converted use into conditional use (hopefully with speedup). 2011-04-27 17:12:35 +02:00
Ole Tange 3ab1fc535c parallel: CPU detection code for AIX thanks to Christian Netrwal. 2011-04-18 11:37:34 +02:00
Ole Tange 7b4f747877 parallel: Implemented {#}. Passes testsuite. 2011-04-08 21:57:19 +02:00
Ole Tange c5d11674b0 Fixed: bug #32834: If input is generated slowly - do not complain.
-i with no args defaults to -i {}.
Use ::die_bug instead of die.
2011-03-20 22:40:12 +01:00
Ole Tange 7b8f379adc semiportable testsuite: cd testsuite; make portable 2011-03-09 18:47:00 +01:00
Ole Tange a5a4d67686 sql: sql:sql::alias now works (with testsuite) 2011-03-09 16:23:53 +01:00
Ole Tange 11b21d638c -l 0 no longer works (and never will) because of --tollef.
exponential backoff in --semaphore mode.
--regexp test.
testsuite passes.
2011-03-01 23:04:15 +01:00
Ole Tange 69201240dc parallel: manpage update for -l 0 -L 0 -n 0, and -N 0. 2011-02-23 16:22:08 +01:00
Ole Tange ff48e14301 parallel: -l 0 -L 0 -n 0, and -N 0 implemented. Passes some tests. Man page missing. 2011-02-23 16:01:18 +01:00
Ole Tange bad6dd4787 Fixes bug #32563: includes testsuite. 2011-02-21 22:29:55 +01:00
Ole Tange 0250b69ea4 Test suite added. Closes bug #32232. 2011-02-21 21:44:19 +01:00
Ole Tange c535c25450 parallel: implemented /etc/parallel/config. Passes testsuite. 2011-02-21 02:31:30 +01:00
Ole Tange b7d707b346 parallel: Implemented --gnu and --tollef. Passes at least some tests. 2011-02-18 15:23:00 +01:00
Ole Tange 9cc892faf2 Released as 2011-02-05 FOSDEM 2011-02-17 17:23:38 +01:00
Ole Tange cb468fb6d3 Passes testsuite. 2011-01-27 22:56:59 +01:00
Ole Tange f63347b070 --recend and --recstart are now fixed strings instead of regexp for performance reasons 2011-01-27 22:05:34 +01:00
Ole Tange b0afcf9fa4 parallel --pipe: Do not pipe 0-length input to children 2011-01-27 18:53:57 +01:00
Ole Tange c9d95b0627 Small optimization for large --blocksize for --pipe.
Fixed bug in FreeBSD cpu/core detection.
2011-01-27 00:29:28 +01:00
Ole Tange 9a4522675c parallel: added --rrs with test. Passes testsuite. 2011-01-26 00:45:00 +01:00
Ole Tange 76d9e4f41b -N for --pipe. Fixed race condition in --pipe.
Tests for --pipe. Passes testsuite.
2011-01-24 20:06:30 +01:00
Ole Tange 0be50427fb Fix https://savannah.gnu.org/bugs/index.php?32191 2011-01-21 18:50:23 +01:00
Ole Tange 4fd971f005 parallel: --files implemnted with small test 2011-01-19 17:07:21 +01:00
Ole Tange 1d45092522 parallel: simple test for --spreadstdin.
--recstart and --recend implemented.
Time::Hires no longer needed.
2011-01-18 23:56:28 +01:00
Ole Tange 48454a36ea parallel: --joblog implemented. Testsuite missing.
--spreadstdin prototype. Testsuite missing.
2011-01-18 18:15:42 +01:00
Ole Tange 42a5f4e0cc testsuite passes.
max_jobs_running could be resat if -j is a changed file.
dummy children was not killed if cmd line was too long.
default number of jobs for --semaphore set to 1.
test25 had race condition.
test22 -j10 added.
test13 -j9 added.
test47 remote cleanup added before test.
test17 remote cleanup added before test.
2011-01-17 13:38:58 +01:00
Ole Tange 3ee7f79325 0install wants compiled man pages to be distributed. *.1 are now distributed.
More tests from test suite passes - though not all.
2011-01-11 13:42:14 +01:00
Ole Tange 1cc9c990a4 parallel: fixed: seq 9 | parallel -N 10 echo 2011-01-05 18:10:58 +01:00
Ole Tange 57cf4df2bc parallel: alpharelease. Distribute args between jobslots for -X. -j+0 now default. 2011-01-02 01:01:21 +01:00
Ole Tange a16d120711 Implemented --tty as the old default of assigning a tty to the first
job causes problems.
Cleanup if --workdir <> . did not work. Fixed.
2010-12-21 18:08:16 +01:00
Ole Tange 27822174c2 parallel: Fixed --retries bug. Passes testsuite. 2010-12-19 01:38:36 +01:00
Ole Tange 5a87ded0d1 parallel: Man page for --dry-run. Small bug fixes. 2010-12-16 00:12:02 +01:00
Ole Tange bff9531219 parallel: --dryrun implemented. --return of multiple files with
-X. --return of files containing space. Passes testsuite.
2010-12-14 09:40:42 +01:00
Ole Tange 3b3c344097 parallel: pod-file now separated (it became too big).
niceload: rewritten to GetOpt and first testsuite.
2010-12-07 00:30:08 +01:00
Ole Tange 6979e62916 Fixed #31666: Start new jobs depending on load 2010-12-06 09:23:21 +01:00
Ole Tange ed6181773e parallel: warnings are now sent directly to stderr and not cached.
Test of --tmpdir works.
Testsuite passes.
2010-12-05 23:58:22 +01:00
Ole Tange baba462a0d parallel: implemented --nice 2010-12-03 15:22:01 +01:00
Ole Tange 77f83e6270 basenamereplace and basenameextensionreplace activated.
Testsuite of {/} {/.} {#/.} {#/}.
2010-12-03 00:04:12 +01:00
Ole Tange 46cc1980fa parallel: --progress to STDERR. Test of -M. 2010-11-28 04:11:45 +01:00
Ole Tange ae08cc3b1c parallel: SSHLogin rewritten to OO. Minor failures in test32 and test34. 2010-11-26 01:45:04 +01:00
Ole Tange 364c394df2 parallel: Speedup of arg processing.
Removing dead code.
2010-11-23 01:40:50 +01:00
Ole Tange 8865cbb10f parallel: Argument handling re-written to OO.
The code is quite messy, the implementation is fairly slow, but the
structure seems sound and it passes the testsuite.
basename {/} and {/.} implemented.
Flushing of STDERR and STDOUT after each job completes.
2010-11-22 10:35:53 +01:00
Ole Tange f7355734a5 Released as 20101113. Test to be compatible with old perllibs 2010-11-15 22:46:36 +01:00
Ole Tange 90c333085d Release candidate 20101113 2010-11-13 14:57:39 +01:00
Ole Tange f085a37a40 parallel: Implemented $PARALLEL_SEQ and $PARALLEL_PID.
-v now only show the command to be run. Use -vv to see the surrounding ssh wrapping.
--workdir implemented. Spelling mistakes.
2010-10-27 01:50:58 +02:00
Ole Tange 87747a44b4 parallel: Too slow spawning only gives a warning, not an error.
.parallelrc is now read along with .parallel/config.
Passes testsuite.
2010-10-14 23:13:48 +02:00
Ole Tange 428faf33b7 parallel: Bugfix: empty line and --colsep 2010-10-09 21:55:01 +02:00
Ole Tange cc7d613040 parallel: unittest renamed testsuite which better covers the function 2010-10-06 22:45:24 +02:00