Better unittest for -x

This commit is contained in:
Ole Tange 2009-03-12 03:07:08 +01:00
parent cc478161e3
commit f38da581b7
3 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,4 @@
33bf8b2986551515cdaff5e860618098 -
960bedf6398273937e314fb49c7b3ffa -
d8547d352ca313f4f7b479dc808ecf43 -
8f7a50abe8d1024e90a2bc9c99ee0b05 -
3 80000 468894

View file

@ -1,9 +1,8 @@
#!/bin/bash
# This causes problems if we kill child processes
seq 1 40 | parallel -j 0 seq 1 10 | sort |md5sum
seq 1 40 | parallel -j 0 seq 1 10 '| parallel -j 3 echo' | sort |md5sum
# Test of xargs
seq 1 30000 | parallel echo | sort |md5sum
seq 1 80000 | parallel -x echo | mop -d 4 "|sort |md5sum" "| wc"

View file

@ -1,3 +1,4 @@
33bf8b2986551515cdaff5e860618098 -
960bedf6398273937e314fb49c7b3ffa -
d8547d352ca313f4f7b479dc808ecf43 -
8f7a50abe8d1024e90a2bc9c99ee0b05 -
3 80000 468894