Skip to content

Commit

Permalink
Add test to prevent future regressions
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed May 31, 2016
1 parent a6d0fd2 commit 69e3c87
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/sharness/t0500-issues-and-regressions-offline.sh
Original file line number Diff line number Diff line change
@@ -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
20 changes: 20 additions & 0 deletions test/sharness/t0501-issues-and-regressions-online.sh
Original file line number Diff line number Diff line change
@@ -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" '
curl "http://$API_ADDR/api/v0/commands?flags" | grep "verbose"
'

test_kill_ipfs_daemon

test_done

0 comments on commit 69e3c87

Please sign in to comment.