run-test.sh 230 B

12345678910111213141516
  1. #!/bin/sh
  2. rm -f ./basic-ran
  3. ../../dinit -d sd -u -p socket -q \
  4. basic
  5. STATUS=FAIL
  6. if [ -e basic-ran ]; then
  7. if [ "$(cat basic-ran)" = "ran" ]; then
  8. STATUS=PASS
  9. fi
  10. fi
  11. if [ $STATUS = PASS ]; then exit 0; fi
  12. exit 1