Revision 346
Added by Aaron Marcuse-Kubitza almost 13 years ago
test/accept_output | ||
---|---|---|
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 |
|
12 | 0 |
test/accept | ||
---|---|---|
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 |
|
0 | 12 |
Also available in: Unified diff
Renamed test/accept_output to accept