| 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 | # prepare locales to make date format reproducible |
| 9 | LC_ALL=en_US |
| 10 | LANG=en |
| 11 | LINGUAS=en |
| 12 | export LC_ALL LANG LINGUAS |
| 13 | |
| 14 | # run the test |
| 15 | ./testsms > testsms.log |
| 16 | |
| 17 | # check if output differs from what it should be |
| 18 | diffscip-shell system . . diff. testsms.log testsms-output.txt |