Skip to content

Commit

Permalink
fixed shell script warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 20, 2019
1 parent 544f6c7 commit 8b2952f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/c/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/sh
# This is a test script for PIO examples.
# Ed Hartnett 5/7/18

# Stop execution of script if error is returned.
set -e

# Stop loop if ctrl-c is pressed.
trap exit SIGINT SIGTERM
trap exit INT TERM

printf 'running PIO examples...\n'

Expand Down
3 changes: 2 additions & 1 deletion tests/cunit/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/sh
# This is a test script for PIO.
# Ed Hartnett

# Stop execution of script if error is returned.
set -e

# Stop loop if ctrl-c is pressed.
trap exit SIGINT SIGTERM
trap exit INT TERM

printf 'running PIO tests...\n'

Expand Down

0 comments on commit 8b2952f

Please sign in to comment.