1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 00:39:31 +08:00

test/sharness: make sure the string isn't empty

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2016-07-08 23:30:28 +02:00
parent 2fded41ff5
commit f7e659006b

View File

@ -98,7 +98,7 @@ test_config_cmd() {
test_expect_success "'ipfs config replace' injects privkey back" ' test_expect_success "'ipfs config replace' injects privkey back" '
ipfs config replace show_config && 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" ' test_expect_success "'ipfs config replace' with privkey erors out" '