mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
39 lines
1 KiB
Plaintext
39 lines
1 KiB
Plaintext
echo '### Test if we can deal with output > 4 GB'
|
|
### Test if we can deal with output > 4 GB
|
|
echo | niceload --io 9 -H parallel -q perl -e '"\$a=\"x\"x1000000;for(0..4300){print \$a}"' | md5sum
|
|
46a318993dfc8e2afd71ff2bc6f605f1 -
|
|
echo '### Test {#}'
|
|
### Test {#}
|
|
seq 1 10 | parallel -k echo {#}
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
echo '### Test --seqreplace and line too long'
|
|
### Test --seqreplace and line too long
|
|
seq 1 100 | stdout parallel -k --seqreplace I echo $(perl -e 'print "I"x130000') \|wc
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
1 1 130001
|
|
parallel: Command line too long (260009 >= 131071) at number 9: 10...
|
|
echo '### Test of --retries on unreachable host'
|
|
### Test of --retries on unreachable host
|
|
seq 2 | stdout parallel -k --retries 2 -v -S 4.3.2.1,: echo
|
|
ssh: connect to host 4.3.2.1 port 22: Connection timed out
|
|
parallel: Warning: Could not figure out number of cpus on 4.3.2.1 (). Using 1
|
|
echo 1
|
|
1
|
|
echo 2
|
|
2
|