mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
ca4e58fbaf
Added warning if --transfer and file unreadable. Unittest of transfering of filename with \n passes.
14 lines
223 B
Bash
14 lines
223 B
Bash
#!/bin/bash
|
|
|
|
SHFILE=/tmp/unittest-parallel.sh
|
|
|
|
ls -t tests-to-run/test*.sh \
|
|
| perl -pe 's:(.*/(.*)).sh:sh $1.sh > actual-results/$2; diff -Naur wanted-results/$2 actual-results/$2:' \
|
|
>$SHFILE
|
|
|
|
sh -x $SHFILE
|
|
rm $SHFILE
|
|
|
|
|
|
|