TEST_DESCRIPTION="Test job counting."
. ./test_header.sh

prll -c 1 -s 'echo $1 > jobnr.$prll_jobnr' 5 2 1 4 3
rm -f jobnr.all
for i in 0 1 2 3 4; do cat jobnr.$i >> jobnr.all; done
diff -q jobnr.all - <<EOF
5
2
1
4
3
EOF
[ $? -eq 0 ] || exit 1
