Integration test for dinitcheck dependency cycles detection
[oweals/dinit.git] / src / igr-tests / check-cycle / run-test.sh
1 #!/bin/sh
2
3 ../../dinitcheck -d sd > output.txt 2>&1
4
5 STATUS=FAIL
6 if cmp -s expected.txt output.txt; then
7    STATUS=PASS
8 fi
9
10 if [ $STATUS = PASS ]; then exit 0; fi
11 exit 1