Project

General

Profile

« Previous | Next » 

Revision 106

test/map: Expanded to include all input CSVs in test/input

View differences:

accept_output
1 1
#!/bin/bash
2 2
# Sets the correct test output to be the generated test output
3
# Usage: self file
3
# Usage: self file...
4 4

  
5 5
selfDir="$(dirname -- "$0")"
6 6
cd "$selfDir"
7 7

  
8
file="$(basename -- "$1")"
9
cp -p "output/$file" "accepted_output/$file"
8
for file in "$@"; do
9
    filename="$(basename -- "$file")"
10
    cp -p "output/$filename" "accepted_output/$filename"
11
done

Also available in: Unified diff