parallel/unittest/tests-to-run/test02.sh
Ole Tange c81a15677d Some systems does not receive the SIGCHLD (maybe when running under
/bin/dash?).
Unittest failed if /bin/sh was dash.
2010-06-16 05:03:52 +02:00

17 lines
316 B
Bash
Executable file

#!/bin/bash
PAR=parallel
rm -rf tmp 2>/dev/null
cp -a input-files/testdir2 tmp
cd tmp
echo '### Test filenames containing UTF-8'
find . -name '*.jpg' | $PAR -j +0 convert -geometry 120 {} {}_thumb.jpg
find . -name '*_thumb.jpg' | ren 's:/([^/]+)_thumb.jpg$:/thumb_$1:'
find |grep -v CVS | sort
cd ..
rm -rf tmp