parallel/testsuite/tests-to-run/parallel-local23.sh

23 lines
807 B
Bash
Raw Normal View History

2007-09-10 20:28:03 +00:00
#!/bin/bash
rm -rf tmp 2>/dev/null
cp -a input-files/testdir2 tmp
cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -j0 -k -L1
echo '### Test filenames containing UTF-8';
cd tmp;
find . -name '*.jpg' | parallel -j +0 convert -geometry 120 {} {//}/thumb_{/};
find |grep -v CVS | sort;
2007-09-10 20:28:03 +00:00
echo '### bug #39554: Feature request: line buffered output';
parallel -j0 --linebuffer 'echo -n start {};sleep 0.{#};echo middle -n {};sleep 1.{#}5;echo next to last {};sleep 1.{#};echo -n last {}' ::: A B C
echo
echo '### bug #39554: Feature request: line buffered output --tag';
parallel --tag -j0 --linebuffer 'echo -n start {};sleep 0.{#};echo middle -n {};sleep 1.{#}5;echo next to last {};sleep 1.{#};echo -n last {}' ::: A B C
echo
EOF
2007-09-10 20:28:03 +00:00
rm -rf tmp