mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-24 15:07:55 +00:00
754 lines
32 KiB
Plaintext
754 lines
32 KiB
Plaintext
echo "### BUG: The length for -X is not close to max (131072)"; seq 1 60000 | parallel -X echo {.} aa {}{.} {}{}d{} {}dd{}d{.} |head -n 1 |wc
|
|
### BUG: The length for -X is not close to max (131072)
|
|
1 6861 65500
|
|
seq 1 60000 | parallel -X echo a{}b{}c |head -n 1 |wc
|
|
1 5644 65514
|
|
seq 1 60000 | parallel -X echo |head -n 1 |wc
|
|
1 12770 65514
|
|
seq 1 60000 | parallel -X echo a{}b{}c {} |head -n 1 |wc
|
|
1 8098 65512
|
|
seq 1 60000 | parallel -X echo {}aa{} |head -n 1 |wc
|
|
1 6157 65513
|
|
seq 1 60000 | parallel -X echo {} aa {} |head -n 1 |wc
|
|
1 13547 65519
|
|
echo '### Test --fifo under csh'
|
|
### Test --fifo under csh
|
|
csh -c "seq 3000000 | parallel -k --pipe --fifo 'sleep .{#};cat {}|wc -c ; false; echo \$status; false'"; echo exit $?
|
|
1048571
|
|
1
|
|
1048572
|
|
1
|
|
1048572
|
|
1
|
|
1048572
|
|
1
|
|
1048572
|
|
1
|
|
1048572
|
|
1
|
|
1048569
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
1048576
|
|
1
|
|
868832
|
|
1
|
|
exit 22
|
|
echo '**'
|
|
**
|
|
echo '### bug #44546: If --compress-program fails: fail'
|
|
### bug #44546: If --compress-program fails: fail
|
|
parallel --line-buffer --compress-program false echo \;ls ::: /no-existing; echo $?
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
parallel --tag --line-buffer --compress-program false echo \;ls ::: /no-existing; echo $?
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
(parallel --files --tag --line-buffer --compress-program false echo \;sleep 1\;ls ::: /no-existing; echo $?) | tail -n1
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
parallel --tag --compress-program false echo \;ls ::: /no-existing; echo $?
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
parallel --line-buffer --compress-program false echo \;ls ::: /no-existing; echo $?
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
parallel --compress-program false echo \;ls ::: /no-existing; echo $?
|
|
1
|
|
parallel: Error: false failed.
|
|
parallel: Error: false failed.
|
|
echo 'bug #41613: --compress --line-buffer - no newline'; echo 'pipe compress tagstring'
|
|
bug #41613: --compress --line-buffer - no newline
|
|
pipe compress tagstring
|
|
perl -e 'print "O"'| parallel --compress --tagstring {#} --pipe --line-buffer cat; echo "K"
|
|
1 OK
|
|
echo 'pipe compress notagstring'
|
|
pipe compress notagstring
|
|
perl -e 'print "O"'| parallel --compress --pipe --line-buffer cat; echo "K"
|
|
OK
|
|
echo 'pipe nocompress tagstring'
|
|
pipe nocompress tagstring
|
|
perl -e 'print "O"'| parallel --tagstring {#} --pipe --line-buffer cat; echo "K"
|
|
1 OK
|
|
echo 'pipe nocompress notagstring'
|
|
pipe nocompress notagstring
|
|
perl -e 'print "O"'| parallel --pipe --line-buffer cat; echo "K"
|
|
OK
|
|
echo 'nopipe compress tagstring'
|
|
nopipe compress tagstring
|
|
parallel --compress --tagstring {#} --line-buffer echo {} O ::: -n; echo "K"
|
|
1 OK
|
|
echo 'nopipe compress notagstring'
|
|
nopipe compress notagstring
|
|
parallel --compress --line-buffer echo {} O ::: -n; echo "K"
|
|
OK
|
|
echo 'nopipe nocompress tagstring'
|
|
nopipe nocompress tagstring
|
|
parallel --tagstring {#} --line-buffer echo {} O ::: -n; echo "K"
|
|
1 OK
|
|
echo 'nopipe nocompress notagstring'
|
|
nopipe nocompress notagstring
|
|
parallel --line-buffer echo {} O ::: -n; echo "K"
|
|
OK
|
|
echo 'Compress with failing (de)compressor'
|
|
Compress with failing (de)compressor
|
|
parallel -k --tag --compress --compress-program 'cat;true' --decompress-program 'cat;true' echo ::: tag true true
|
|
tag tag
|
|
true true
|
|
true true
|
|
parallel -k --tag --compress --compress-program 'cat;false' --decompress-program 'cat;true' echo ::: tag false true
|
|
tag tag
|
|
false false
|
|
true true
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --tag --compress --compress-program 'cat;false' --decompress-program 'cat;false' echo ::: tag false false
|
|
tag tag
|
|
false false
|
|
false false
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --tag --compress --compress-program 'cat;true' --decompress-program 'cat;false' echo ::: tag true false
|
|
tag tag
|
|
true true
|
|
false false
|
|
parallel -k --compress --compress-program 'cat;true' --decompress-program 'cat;true' echo ::: true true
|
|
true
|
|
true
|
|
parallel -k --compress --compress-program 'cat;false' --decompress-program 'cat;true' echo ::: false true
|
|
false
|
|
true
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --compress --compress-program 'cat;false' --decompress-program 'cat;false' echo ::: false false
|
|
false
|
|
false
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --compress --compress-program 'cat;true' --decompress-program 'cat;false' echo ::: true false
|
|
true
|
|
false
|
|
parallel -k --line-buffer --compress --compress-program 'cat;true' --decompress-program 'cat;true' echo ::: line-buffer true true
|
|
line-buffer
|
|
true
|
|
true
|
|
parallel -k --line-buffer --compress --compress-program 'cat;false' --decompress-program 'cat;true' echo ::: line-buffer false true
|
|
line-buffer
|
|
false
|
|
true
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --line-buffer --compress --compress-program 'cat;false' --decompress-program 'cat;false' echo ::: line-buffer false false
|
|
line-buffer
|
|
false
|
|
false
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --tag --line-buffer --compress --compress-program 'cat;true' --decompress-program 'cat;false' echo ::: tag line-buffer true false
|
|
tag tag
|
|
line-buffer line-buffer
|
|
true true
|
|
false false
|
|
parallel -k --tag --line-buffer --compress --compress-program 'cat;true' --decompress-program 'cat;true' echo ::: tag line-buffer true true
|
|
tag tag
|
|
line-buffer line-buffer
|
|
true true
|
|
true true
|
|
parallel -k --tag --line-buffer --compress --compress-program 'cat;false' --decompress-program 'cat;true' echo ::: tag line-buffer false true
|
|
tag tag
|
|
line-buffer line-buffer
|
|
false false
|
|
true true
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --tag --line-buffer --compress --compress-program 'cat;false' --decompress-program 'cat;false' echo ::: tag line-buffer false false
|
|
tag tag
|
|
line-buffer line-buffer
|
|
false false
|
|
false false
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --tag --line-buffer --compress --compress-program 'cat;true' --decompress-program 'cat;false' echo ::: tag line-buffer true false
|
|
tag tag
|
|
line-buffer line-buffer
|
|
true true
|
|
false false
|
|
parallel -k --files --compress --compress-program 'cat;true' --decompress-program 'cat;true' echo ::: files true true | parallel rm
|
|
parallel -k --files --compress --compress-program 'cat;false' --decompress-program 'cat;true' echo ::: files false true | parallel rm
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --files --compress --compress-program 'cat;false' --decompress-program 'cat;false' echo ::: files false false | parallel rm
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel: Error: cat;false failed.
|
|
parallel -k --files --compress --compress-program 'cat;true' --decompress-program 'cat;false' echo ::: files true false | parallel rm
|
|
echo 'bug #44250: pxz complains File format not recognized but decompresses anyway'
|
|
bug #44250: pxz complains File format not recognized but decompresses anyway
|
|
# The first line dumps core if run from make file. Why?!
|
|
stdout parallel --compress --compress-program pxz ls /{} ::: OK-if-missing-file
|
|
ls: cannot access '/OK-if-missing-file': No such file or directory
|
|
stdout parallel --compress --compress-program pixz --decompress-program 'pixz -d' ls /{} ::: OK-if-missing-file
|
|
can not seek in input: Illegal seek
|
|
ls: cannot access '/OK-if-missing-file': No such file or directory
|
|
stdout parallel --compress --compress-program pixz --decompress-program 'pixz -d' true ::: OK-if-no-output
|
|
stdout parallel --compress --compress-program pxz true ::: OK-if-no-output
|
|
echo 'bug #41613: --compress --line-buffer no newline'; perl -e 'print "It worked"'| parallel --pipe --compress --line-buffer cat; echo
|
|
bug #41613: --compress --line-buffer no newline
|
|
It worked
|
|
echo 'bug #48658: --linebuffer --files'; doit() { parallel --files --linebuffer --compress-program $1 seq ::: 100000 | wc -l ; }; export -f doit; parallel --tag -k doit ::: zstd pzstd clzip lz4 lzop pigz pxz gzip plzip pbzip2 lzma xz lzip bzip2 lbzip2 lrz
|
|
bug #48658: --linebuffer --files
|
|
zstd 1
|
|
pzstd 1
|
|
clzip 1
|
|
lz4 1
|
|
lzop 1
|
|
pigz 1
|
|
pxz 1
|
|
gzip 1
|
|
plzip 1
|
|
pbzip2 1
|
|
lzma 1
|
|
xz 1
|
|
lzip 1
|
|
bzip2 1
|
|
lbzip2 1
|
|
lrz 1
|
|
doit() { parallel --results /tmp/par48658$1 --linebuffer --compress-program $1 seq ::: 100000 | wc -l ; rm -rf "/tmp/par48658$1"; }; export -f doit; parallel --tag -k doit ::: zstd pzstd clzip lz4 lzop pigz pxz gzip plzip pbzip2 lzma xz lzip bzip2 lbzip2 lrz
|
|
zstd 1
|
|
pzstd 1
|
|
clzip 1
|
|
lz4 1
|
|
lzop 1
|
|
pigz 1
|
|
pxz 1
|
|
gzip 1
|
|
plzip 1
|
|
pbzip2 1
|
|
lzma 1
|
|
xz 1
|
|
lzip 1
|
|
bzip2 1
|
|
lbzip2 1
|
|
lrz 1
|
|
doit() { parallel --linebuffer --compress-program $1 seq ::: 100000 | wc -l ; }; export -f doit; parallel --tag -k doit ::: zstd pzstd clzip lz4 lzop pigz pxz gzip plzip pbzip2 lzma xz lzip bzip2 lbzip2 lrz
|
|
zstd 100000
|
|
pzstd 100000
|
|
clzip 100000
|
|
lz4 100000
|
|
lzop 100000
|
|
pigz 100000
|
|
pxz 100000
|
|
gzip 100000
|
|
plzip 100000
|
|
pbzip2 100000
|
|
lzma 100000
|
|
xz 100000
|
|
lzip 100000
|
|
bzip2 100000
|
|
lbzip2 100000
|
|
lrz 100000
|
|
echo '**'
|
|
**
|
|
echo "### Test -I"; seq 1 10 | parallel -k 'seq 1 {} | parallel -k -I :: echo {} ::'
|
|
### Test -I
|
|
1 1
|
|
2 1
|
|
2 2
|
|
3 1
|
|
3 2
|
|
3 3
|
|
4 1
|
|
4 2
|
|
4 3
|
|
4 4
|
|
5 1
|
|
5 2
|
|
5 3
|
|
5 4
|
|
5 5
|
|
6 1
|
|
6 2
|
|
6 3
|
|
6 4
|
|
6 5
|
|
6 6
|
|
7 1
|
|
7 2
|
|
7 3
|
|
7 4
|
|
7 5
|
|
7 6
|
|
7 7
|
|
8 1
|
|
8 2
|
|
8 3
|
|
8 4
|
|
8 5
|
|
8 6
|
|
8 7
|
|
8 8
|
|
9 1
|
|
9 2
|
|
9 3
|
|
9 4
|
|
9 5
|
|
9 6
|
|
9 7
|
|
9 8
|
|
9 9
|
|
10 1
|
|
10 2
|
|
10 3
|
|
10 4
|
|
10 5
|
|
10 6
|
|
10 7
|
|
10 8
|
|
10 9
|
|
10 10
|
|
echo "### Test -X -I"; seq 1 10 | parallel -k 'seq 1 {} | parallel -j1 -X -k -I :: echo a{} b::'
|
|
### Test -X -I
|
|
a1 b1
|
|
a2 b1 b2
|
|
a3 b1 b2 b3
|
|
a4 b1 b2 b3 b4
|
|
a5 b1 b2 b3 b4 b5
|
|
a6 b1 b2 b3 b4 b5 b6
|
|
a7 b1 b2 b3 b4 b5 b6 b7
|
|
a8 b1 b2 b3 b4 b5 b6 b7 b8
|
|
a9 b1 b2 b3 b4 b5 b6 b7 b8 b9
|
|
a10 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10
|
|
echo "### Test -m -I"; seq 1 10 | parallel -k 'seq 1 {} | parallel -j1 -m -k -I :: echo a{} b::'
|
|
### Test -m -I
|
|
a1 b1
|
|
a2 b1 2
|
|
a3 b1 2 3
|
|
a4 b1 2 3 4
|
|
a5 b1 2 3 4 5
|
|
a6 b1 2 3 4 5 6
|
|
a7 b1 2 3 4 5 6 7
|
|
a8 b1 2 3 4 5 6 7 8
|
|
a9 b1 2 3 4 5 6 7 8 9
|
|
a10 b1 2 3 4 5 6 7 8 9 10
|
|
par_failing_compressor Compress with failing (de)compressor
|
|
par_failing_compressor Test --tag/--line-buffer/--files in all combinations
|
|
par_failing_compressor Test working/failing compressor/decompressor in all combinations
|
|
par_failing_compressor (-k is used as a dummy argument)
|
|
par_failing_compressor parallel -k --tag --line-buffer --files --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k --tag --line-buffer --files --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k --tag --line-buffer --files --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag --line-buffer --files --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
|
|
par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
|
|
par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag --line-buffer -k --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag -k --files --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k --tag -k --files --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k --tag -k --files --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag -k --files --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag -k -k --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true C=cat;true,D=cat;true
|
|
par_failing_compressor parallel -k --tag -k -k --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false C=cat;true,D=cat;false
|
|
par_failing_compressor parallel -k --tag -k -k --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true C=cat;false,D=cat;true
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k --tag -k -k --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false C=cat;false,D=cat;false
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k --line-buffer --files --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k -k --line-buffer --files --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k -k --line-buffer --files --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k --line-buffer --files --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true
|
|
par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false
|
|
par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k --line-buffer -k --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k -k --files --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k -k -k --files --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel -k -k -k --files --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k -k --files --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor /tmp/parallel-local-1s-tmpdir/tmpfile
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k -k -k --compress --compress-program cat\;true --decompress-program cat\;true echo ::: C=cat\;true,D=cat\;true
|
|
par_failing_compressor C=cat;true,D=cat;true
|
|
par_failing_compressor parallel -k -k -k -k --compress --compress-program cat\;true --decompress-program cat\;false echo ::: C=cat\;true,D=cat\;false
|
|
par_failing_compressor C=cat;true,D=cat;false
|
|
par_failing_compressor parallel -k -k -k -k --compress --compress-program cat\;false --decompress-program cat\;true echo ::: C=cat\;false,D=cat\;true
|
|
par_failing_compressor C=cat;false,D=cat;true
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_failing_compressor parallel -k -k -k -k --compress --compress-program cat\;false --decompress-program cat\;false echo ::: C=cat\;false,D=cat\;false
|
|
par_failing_compressor C=cat;false,D=cat;false
|
|
par_failing_compressor parallel: Error: cat;false failed.
|
|
par_parset ### test parset
|
|
par_parset Put output into $myarray
|
|
par_parset 10
|
|
par_parset 11
|
|
par_parset 12
|
|
par_parset 13
|
|
par_parset 14
|
|
par_parset 15
|
|
par_parset Put output into vars "$seq, $pwd, $ls"
|
|
par_parset 1
|
|
par_parset 2
|
|
par_parset 3
|
|
par_parset 4
|
|
par_parset 5
|
|
par_parset 6
|
|
par_parset 7
|
|
par_parset 8
|
|
par_parset 9
|
|
par_parset 10
|
|
par_parset Put output into vars ($seq, $pwd, $ls):
|
|
par_parset 1
|
|
par_parset 2
|
|
par_parset 3
|
|
par_parset 4
|
|
par_parset 5
|
|
par_parset The commands to run can be an array
|
|
par_parset <<joe "double space" cartoon>>
|
|
par_parset ~/privat/parallel/testsuite
|
|
par_parset You cannot pipe into parset, but must use a tempfile
|
|
par_parset 1
|
|
par_parset 10
|
|
par_parset Commands with newline require -0
|
|
par_parset line1
|
|
par_parset line2
|
|
par_result ### Test --results
|
|
par_result I III
|
|
par_result I IIII
|
|
par_result II III
|
|
par_result II IIII
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/III/seq
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testA/1/I/2/IIII/stdout
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/III/seq
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testA/1/II/2/IIII/stdout
|
|
par_result ### Test --res
|
|
par_result I III
|
|
par_result I IIII
|
|
par_result II III
|
|
par_result II IIII
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/III/seq
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testD/1/I/2/IIII/stdout
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/III/seq
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testD/1/II/2/IIII/stdout
|
|
par_result ### Test --result
|
|
par_result I III
|
|
par_result I IIII
|
|
par_result II III
|
|
par_result II IIII
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/III/seq
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testE/1/I/2/IIII/stdout
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/III/seq
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/III/stderr
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/III/stdout
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/IIII/seq
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testE/1/II/2/IIII/stdout
|
|
par_result ### Test --results --header :
|
|
par_result I III
|
|
par_result I IIII
|
|
par_result II III
|
|
par_result II IIII
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/III/seq
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/III/stderr
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/III/stdout
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/IIII/seq
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testB/a/I/b/IIII/stdout
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/III/seq
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/III/stderr
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/III/stdout
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/IIII/seq
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testB/a/II/b/IIII/stdout
|
|
par_result ### Test --results --header : named - a/b swapped
|
|
par_result I III
|
|
par_result II III
|
|
par_result I IIII
|
|
par_result II IIII
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/III/seq
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/III/stderr
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/III/stdout
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/IIII/seq
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testC/a/I/b/IIII/stdout
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/III/seq
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/III/stderr
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/III/stdout
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/IIII/seq
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/IIII/stderr
|
|
par_result /tmp/parallel_results_test/testC/a/II/b/IIII/stdout
|
|
par_result ### Test --results --header : piped
|
|
par_result parallel: Warning: a NUL character occurred in the input.
|
|
par_result parallel: Warning: It cannot be passed through in the argument list.
|
|
par_result parallel: Warning: Did you mean to use the --null option?
|
|
par_result /tmp/parallel_results_test/testF/Col/backslash\\tab/2
|
|
par_result /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof
|
|
par_result /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/seq
|
|
par_result /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stderr
|
|
par_result /tmp/parallel_results_test/testF/Col/backslash\\tab/2/slash\_null\0eof/stdout
|
|
par_result ### Test --results --header : piped - non-existing column header
|
|
par_result parallel: Warning: a NUL character occurred in the input.
|
|
par_result parallel: Warning: It cannot be passed through in the argument list.
|
|
par_result parallel: Warning: Did you mean to use the --null option?
|
|
par_result /tmp/parallel_results_test/testG/
|
|
par_result /tmp/parallel_results_test/testG/Col1
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab/2
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/seq
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stderr
|
|
par_result /tmp/parallel_results_test/testG/Col1/backslash\\tab/2/slash\_null\0eof/stdout
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2/3
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/seq
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stderr
|
|
par_result /tmp/parallel_results_test/testG/Col1/v1/2/v2/3/v3/stdout
|
|
par_result_replace ### bug #49983: --results with {1}
|
|
par_result_replace foo
|
|
par_result_replace bar
|
|
par_result_replace baz
|
|
par_result_replace /tmp/par_bar_49983
|
|
par_result_replace /tmp/par_baz_49983
|
|
par_result_replace /tmp/par_foo_49983
|
|
par_result_replace foo A
|
|
par_result_replace foo B
|
|
par_result_replace foo C
|
|
par_result_replace bar A
|
|
par_result_replace bar B
|
|
par_result_replace bar C
|
|
par_result_replace baz A
|
|
par_result_replace baz B
|
|
par_result_replace baz C
|
|
par_result_replace /tmp/par_bar A_49983
|
|
par_result_replace /tmp/par_bar B_49983
|
|
par_result_replace /tmp/par_bar C_49983
|
|
par_result_replace /tmp/par_baz A_49983
|
|
par_result_replace /tmp/par_baz B_49983
|
|
par_result_replace /tmp/par_baz C_49983
|
|
par_result_replace /tmp/par_foo A_49983
|
|
par_result_replace /tmp/par_foo B_49983
|
|
par_result_replace /tmp/par_foo C_49983
|
|
par_result_replace foo A
|
|
par_result_replace foo B
|
|
par_result_replace foo C
|
|
par_result_replace bar A
|
|
par_result_replace bar B
|
|
par_result_replace bar C
|
|
par_result_replace baz A
|
|
par_result_replace baz B
|
|
par_result_replace baz C
|
|
par_result_replace /tmp/par_bar-A_49983
|
|
par_result_replace /tmp/par_bar-B_49983
|
|
par_result_replace /tmp/par_bar-C_49983
|
|
par_result_replace /tmp/par_baz-A_49983
|
|
par_result_replace /tmp/par_baz-B_49983
|
|
par_result_replace /tmp/par_baz-C_49983
|
|
par_result_replace /tmp/par_foo-A_49983
|
|
par_result_replace /tmp/par_foo-B_49983
|
|
par_result_replace /tmp/par_foo-C_49983
|
|
par_result_replace foo A
|
|
par_result_replace foo B
|
|
par_result_replace foo C
|
|
par_result_replace bar A
|
|
par_result_replace bar B
|
|
par_result_replace bar C
|
|
par_result_replace baz A
|
|
par_result_replace baz B
|
|
par_result_replace baz C
|
|
par_result_replace /tmp/par__49983
|
|
par_result_replace /tmp/par__49983/1
|
|
par_result_replace /tmp/par__49983/1/bar
|
|
par_result_replace /tmp/par__49983/1/bar/2
|
|
par_result_replace /tmp/par__49983/1/bar/2/A
|
|
par_result_replace /tmp/par__49983/1/bar/2/A/seq
|
|
par_result_replace /tmp/par__49983/1/bar/2/A/stderr
|
|
par_result_replace /tmp/par__49983/1/bar/2/A/stdout
|
|
par_result_replace /tmp/par__49983/1/bar/2/B
|
|
par_result_replace /tmp/par__49983/1/bar/2/B/seq
|
|
par_result_replace /tmp/par__49983/1/bar/2/B/stderr
|
|
par_result_replace /tmp/par__49983/1/bar/2/B/stdout
|
|
par_result_replace /tmp/par__49983/1/bar/2/C
|
|
par_result_replace /tmp/par__49983/1/bar/2/C/seq
|
|
par_result_replace /tmp/par__49983/1/bar/2/C/stderr
|
|
par_result_replace /tmp/par__49983/1/bar/2/C/stdout
|
|
par_result_replace /tmp/par__49983/1/baz
|
|
par_result_replace /tmp/par__49983/1/baz/2
|
|
par_result_replace /tmp/par__49983/1/baz/2/A
|
|
par_result_replace /tmp/par__49983/1/baz/2/A/seq
|
|
par_result_replace /tmp/par__49983/1/baz/2/A/stderr
|
|
par_result_replace /tmp/par__49983/1/baz/2/A/stdout
|
|
par_result_replace /tmp/par__49983/1/baz/2/B
|
|
par_result_replace /tmp/par__49983/1/baz/2/B/seq
|
|
par_result_replace /tmp/par__49983/1/baz/2/B/stderr
|
|
par_result_replace /tmp/par__49983/1/baz/2/B/stdout
|
|
par_result_replace /tmp/par__49983/1/baz/2/C
|
|
par_result_replace /tmp/par__49983/1/baz/2/C/seq
|
|
par_result_replace /tmp/par__49983/1/baz/2/C/stderr
|
|
par_result_replace /tmp/par__49983/1/baz/2/C/stdout
|
|
par_result_replace /tmp/par__49983/1/foo
|
|
par_result_replace /tmp/par__49983/1/foo/2
|
|
par_result_replace /tmp/par__49983/1/foo/2/A
|
|
par_result_replace /tmp/par__49983/1/foo/2/A/seq
|
|
par_result_replace /tmp/par__49983/1/foo/2/A/stderr
|
|
par_result_replace /tmp/par__49983/1/foo/2/A/stdout
|
|
par_result_replace /tmp/par__49983/1/foo/2/B
|
|
par_result_replace /tmp/par__49983/1/foo/2/B/seq
|
|
par_result_replace /tmp/par__49983/1/foo/2/B/stderr
|
|
par_result_replace /tmp/par__49983/1/foo/2/B/stdout
|
|
par_result_replace /tmp/par__49983/1/foo/2/C
|
|
par_result_replace /tmp/par__49983/1/foo/2/C/seq
|
|
par_result_replace /tmp/par__49983/1/foo/2/C/stderr
|
|
par_result_replace /tmp/par__49983/1/foo/2/C/stdout
|
|
par_result_replace bar B
|
|
par_result_replace bar C
|
|
par_result_replace baz B
|
|
par_result_replace baz C
|
|
par_result_replace /tmp/par__49983
|
|
par_result_replace /tmp/par__49983/A
|
|
par_result_replace /tmp/par__49983/A/B
|
|
par_result_replace /tmp/par__49983/A/B/foo
|
|
par_result_replace /tmp/par__49983/A/B/foo/bar
|
|
par_result_replace /tmp/par__49983/A/B/foo/bar/seq
|
|
par_result_replace /tmp/par__49983/A/B/foo/bar/stderr
|
|
par_result_replace /tmp/par__49983/A/B/foo/bar/stdout
|
|
par_result_replace /tmp/par__49983/A/B/foo/baz
|
|
par_result_replace /tmp/par__49983/A/B/foo/baz/seq
|
|
par_result_replace /tmp/par__49983/A/B/foo/baz/stderr
|
|
par_result_replace /tmp/par__49983/A/B/foo/baz/stdout
|
|
par_result_replace /tmp/par__49983/A/C
|
|
par_result_replace /tmp/par__49983/A/C/foo
|
|
par_result_replace /tmp/par__49983/A/C/foo/bar
|
|
par_result_replace /tmp/par__49983/A/C/foo/bar/seq
|
|
par_result_replace /tmp/par__49983/A/C/foo/bar/stderr
|
|
par_result_replace /tmp/par__49983/A/C/foo/bar/stdout
|
|
par_result_replace /tmp/par__49983/A/C/foo/baz
|
|
par_result_replace /tmp/par__49983/A/C/foo/baz/seq
|
|
par_result_replace /tmp/par__49983/A/C/foo/baz/stderr
|
|
par_result_replace /tmp/par__49983/A/C/foo/baz/stdout
|
|
par_result_replace bar B
|
|
par_result_replace bar C
|
|
par_result_replace baz B
|
|
par_result_replace baz C
|
|
par_result_replace /tmp/par__49983-bar B
|
|
par_result_replace /tmp/par__49983-bar B/seq
|
|
par_result_replace /tmp/par__49983-bar B/stderr
|
|
par_result_replace /tmp/par__49983-bar B/stdout
|
|
par_result_replace /tmp/par__49983-bar C
|
|
par_result_replace /tmp/par__49983-bar C/seq
|
|
par_result_replace /tmp/par__49983-bar C/stderr
|
|
par_result_replace /tmp/par__49983-bar C/stdout
|
|
par_result_replace /tmp/par__49983-baz B
|
|
par_result_replace /tmp/par__49983-baz B/seq
|
|
par_result_replace /tmp/par__49983-baz B/stderr
|
|
par_result_replace /tmp/par__49983-baz B/stdout
|
|
par_result_replace /tmp/par__49983-baz C
|
|
par_result_replace /tmp/par__49983-baz C/seq
|
|
par_result_replace /tmp/par__49983-baz C/stderr
|
|
par_result_replace /tmp/par__49983-baz C/stdout
|
|
par_sqlworker_hostname bug #50901: --sqlworker should use hostname in the joblog instead of :
|
|
par_sqlworker_hostname 1
|
|
par_sqlworker_hostname 2
|
|
par_sqlworker_hostname 3
|
|
par_sqlworker_hostname host
|
|
par_sqlworker_hostname aspire
|
|
par_sqlworker_hostname aspire
|
|
par_sqlworker_hostname aspire
|