mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-07 18:16:12 +00:00
chore(tests): make tests posix compatible (#109)
This commit is contained in:
parent
379ded5a8f
commit
6a2cf96e95
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Running error test script..."
|
echo "Running error test script..."
|
||||||
|
|
||||||
echo "Expected error"
|
echo "Expected error"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Running simple test script..."
|
echo "Running simple test script..."
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Running timeout test script..."
|
echo "Running timeout test script..."
|
||||||
|
|
||||||
for i in {1..5}; do
|
for i in `seq 5`; do
|
||||||
sleep .5
|
sleep .5
|
||||||
echo "running..."
|
echo "running..."
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "This line should not be executed!"
|
echo "This line should not be executed!"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user