mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-26 17:28:13 +00:00
15 lines
298 B
Bash
Executable file
15 lines
298 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# See ./reg-test/run
|
|
for arg; do
|
|
src=output-reg-test/$arg.out
|
|
if [ -f $src ]; then
|
|
cp $src reg-test/expected
|
|
elif [ -f $arg ]; then
|
|
src=output-reg-test/$(basename $arg).out
|
|
cp $src reg-test/expected
|
|
else
|
|
echo "Cannot find source $arg" 1>&2
|
|
exit 1
|
|
fi
|
|
done
|