test/sharness: make sure the string isn't empty
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Jul 8, 2016 at 23:30 UTC
f7e659006b1ac001b67e994cdf1bcbc73add35f8
1 file changed
+1
-1
test/sharness/t0021-config.sh
+1
-1
@@ -98,7 +98,7 @@ test_config_cmd() {
98
99
test_expect_success "'ipfs config replace' injects privkey back" '
100
ipfs config replace show_config &&
101
- grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".*\"" >/dev/null
101
+ grep "\"PrivKey\":" "$IPFS_PATH/config" | grep -e ": \".\+\"" >/dev/null
102
'
103
104
test_expect_success "'ipfs config replace' with privkey erors out" '