-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_tests.sh
27 lines (23 loc) · 1.06 KB
/
my_tests.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
26
#my_tests.sh
clear
echo Testing run with no command-line input
read -p "(Pause from testing script) Press Enter to continue ... "
java -jar Josephus.jar
read -p "(Pause from testing script) Press Enter to continue ... "
clear
echo Now testing the source code files for TABs ...
read -p "(Pause from testing script) Press Enter to continue ... "
/home/course_ps/u00/public/utilities/find_tabs Josephus.java
/home/course_ps/u00/public/utilities/find_tabs ZealotCircle.java
read -p "(Pause from testing script) Press Enter to continue ... "
clear
echo Now testing the source code files for long lines ...
read -p "(Pause from testing script) Press Enter to continue ... "
/home/course_ps/u00/public/utilities/find_long_lines Josephus.java
/home/course_ps/u00/public/utilities/find_long_lines ZealotCircle.java
read -p "(Pause from testing script) Press Enter to continue ... "
clear
echo Now testing for right format
read -p "(Pause from testing script) Press Enter to continue ... "
java -jar Josephus.jar 5 3 2
read -p "(Pause from testing script) Press Enter to continue ... "