From f38da581b79be366abc8df7bfd4722c1c4a541d5 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Thu, 12 Mar 2009 03:07:08 +0100 Subject: [PATCH] Better unittest for -x --- unittest/actual-results/test10 | 3 ++- unittest/tests-to-run/test10.sh | 3 +-- unittest/wanted-results/test10 | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/unittest/actual-results/test10 b/unittest/actual-results/test10 index 15423d6c..c953589c 100644 --- a/unittest/actual-results/test10 +++ b/unittest/actual-results/test10 @@ -1,3 +1,4 @@ 33bf8b2986551515cdaff5e860618098 - 960bedf6398273937e314fb49c7b3ffa - -d8547d352ca313f4f7b479dc808ecf43 - +8f7a50abe8d1024e90a2bc9c99ee0b05 - + 3 80000 468894 diff --git a/unittest/tests-to-run/test10.sh b/unittest/tests-to-run/test10.sh index de7a1761..3c1d67a7 100644 --- a/unittest/tests-to-run/test10.sh +++ b/unittest/tests-to-run/test10.sh @@ -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 \ No newline at end of file +seq 1 80000 | parallel -x echo | mop -d 4 "|sort |md5sum" "| wc" diff --git a/unittest/wanted-results/test10 b/unittest/wanted-results/test10 index 15423d6c..c953589c 100644 --- a/unittest/wanted-results/test10 +++ b/unittest/wanted-results/test10 @@ -1,3 +1,4 @@ 33bf8b2986551515cdaff5e860618098 - 960bedf6398273937e314fb49c7b3ffa - -d8547d352ca313f4f7b479dc808ecf43 - +8f7a50abe8d1024e90a2bc9c99ee0b05 - + 3 80000 468894