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