CS3413/Assignment5/testing/test2simple.sh

10 lines
182 B
Bash

#!/usr/bin/env bash
counter=0
# Do this forever
while true; do
(../build/Assignment5 < ../documentation/a5_sample_input_2.txt)
counter=$((counter+1))
echo $counter
done