0 javac *.java

# stdout and stderr come out at different times on different systems
# so separate them and compare separately
### /////// later will be exception and 1 exit code.
1 rjrun initsem > No_input.out1 2> No_input.out2
0 cmp No_input.std1 No_input.out1

# details of No_input.out2 depends on Java implementation (e.g., line #s)
# so just check (some of) what is easy to check
### /////// later will be exception.
0 grep "OpInni.newSem negative initialSemValue" No_input.out2 > /dev/null 2>&1
### 0 grep "at initsem.<clinit>" No_input.out2 > /dev/null 2>&1

0 rm -f *.class *.out *.out1 *.out2
