M .build.yml => .build.yml +1 -1
@@ 8,4 8,4 @@ packages:
- vim
tasks:
- test: |
- cd baal && . dev && make # && bash test.sh # TODO. Fix tests
+ cd baal && . dev && test # && bash test.sh # TODO. Fix tests
M test.sh => test.sh +3 -0
@@ 92,6 92,7 @@ server_register()
# Run the tests
$server > /dev/null 2>&1 & # Start the server
+ sleep 0.5
run skiqqy 1
run skiqqy 2
run deavmi 1
@@ 100,6 101,7 @@ server_register()
# Check that the data was indeed flushed
$server > /dev/null 2>&1 &
+ sleep 0.5
run skiqqy 3
run deavmi 3
kill -2 "$!"
@@ 118,6 120,7 @@ send_mail()
# Run the tests
$server > /dev/null 2>&1 & # Start the server
+ sleep 0.5
run '{"from":"root@skiqqy.xyz", "to": "skiqqy", "msg":"Hello World"}' 0 2> /dev/null # Basic test
run '{"from":"root@skiqqy.xyz", "to": "deavmi", "msg":"Hello World1"}' 0 2> /dev/null # Basic test
run '{"from":"root@skiqqy.xyz", "to": "dne", "msg":"Hello World1"}' 2 2> /dev/null # Basic test