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:
@ -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" '
|
||||||
|
Reference in New Issue
Block a user