-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathtest.sh
executable file
·25 lines (21 loc) · 863 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
function run() {
echo " "
echo "=================================================="
echo "$2"
curl -F "csv=@$1.csv" -F "q=$2" localhost:5050
}
run bridges "how long is throgs neck"
run bridges "who designed the george washington"
run bridges "how many bridges are there"
run bridges "how many bridges are designed by O. H. Ammann"
run bridges "which bridges are longer than 2000"
run bridges "how many bridges are longer than 2000"
run bridges "what is the shortest length"
run players "Who is the player that wears number 42?"
run players "What number did the person playing for Duke wear?"
run players "What year did Brad Lohaus play?"
run players "What country is Voshon Lenard from?"
run iris "how many setosa rows are there"
run iris "what is the average petal width for virginica"
run iris "what is the longest sepal for versicolor"