mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
16 lines
259 B
Bash
16 lines
259 B
Bash
#!/bin/bash
|
|
|
|
export LANG=C
|
|
SHFILE=/tmp/unittest-parallel.sh
|
|
|
|
ls -t tests-to-run/*.sh \
|
|
| perl -pe 's:(.*/(.*)).sh:bash $1.sh > actual-results/$2; diff -Naur wanted-results/$2 actual-results/$2:' \
|
|
>$SHFILE
|
|
|
|
mkdir -p actual-results
|
|
sh -x $SHFILE
|
|
rm $SHFILE
|
|
|
|
|
|
|