Skip to content

Commit

Permalink
Create self_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyOfficial authored May 20, 2018
1 parent e01097d commit f9924f0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions self_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

while true; do
inotifywait -q -e modify identifY.sh
if $(bash identifY.sh self_test); then
echo "$(date) Executing identifY.sh"
#./identifY.sh
else
shellcheck identifY.sh
echo "$(date) FATAL: Self-test failed!"
fi
echo "$(date) Testrunner: Done, Build Successful!"
done

0 comments on commit f9924f0

Please sign in to comment.