Debian Codegraph @

tests/runspb.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 errorexitscip-shell shell shell-project 0.0.0 errorexit().() {
4 echoscip-shell system . . echo. $1
5 exit 1
6 }
7
8 cpscip-shell system . . cp. spb.pb spb-copy.pb || errorexitscip-shell shell shell-project 0.0.0 errorexit(). "could not copy spb.pb to spb-copy.pb"
9
10 # run the test
11 ./testspb > testspb.log
12
13 # add new contents of phonebook file to the test log
14 catscip-shell system . . cat. spb-copy.pb >> testspb.log
15
16 # check if output differs from what it should be
17 diffscip-shell system . . diff. testspb.log testspb-output.txt