Skip to content

Commit

Permalink
test/sharness: make sure the string isn't empty
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 Jul 8, 2016
1 parent ed68d12 commit fec1c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sharness/t0021-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test_config_cmd() {

test_expect_success "'ipfs config replace' injects privkey back" '
ipfs config replace show_config &&
grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".*\"" >/dev/null
grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".\+\"" >/dev/null
'

test_expect_success "'ipfs config replace' with privkey erors out" '
Expand Down

0 comments on commit fec1c60

Please sign in to comment.