root/test/accept_output @ 313
1 |
#!/bin/sh
|
---|---|
2 |
# Sets the correct test output to be the generated test output
|
3 |
# Usage: self file...
|
4 |
|
5 |
selfDir="$(dirname -- "$0")" |
6 |
cd "$selfDir" |
7 |
|
8 |
for file in "$@"; do |
9 |
filename="$(basename -- "$file")" |
10 |
cp -p "output/$filename" "accepted_output/$filename" |
11 |
done
|