1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 02:30:39 +08:00

Add test to prevent future regressions

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2016-05-31 18:53:29 +02:00
parent a6d0fd287b
commit 7167e93be4
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
test_description="Tests for various fxed issues and regressions."
. lib/test-lib.sh
test_init_ipfs
# Tests go here
test_done

View File

@ -0,0 +1,20 @@
#!/bin/sh
test_description="Tests for various fxed issues and regressions."
. lib/test-lib.sh
test_init_ipfs
test_launch_ipfs_daemon
# Tests go here
test_expect_sucess "commands command with flag flags works via HTTP API - #2301" '
curl "http://$API_ADDR/api/v0/commands?flags" | grep "verbose"
'
test_kill_ipfs_daemon
test_done