We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da46e9b commit 9a8cb13Copy full SHA for 9a8cb13
test/sharness/t0021-config.sh
@@ -110,6 +110,13 @@ test_config_cmd() {
110
grep "\"beep3\": false," actual
111
'
112
113
+ test_expect_success "'ipfs config show --config-file' works" '
114
+ mv "$IPFS_PATH/config" "$IPFS_PATH/config-moved" &&
115
+ ipfs config --config-file "$IPFS_PATH/config-moved" show >moved &&
116
+ test_cmp moved actual &&
117
+ mv "$IPFS_PATH/config-moved" "$IPFS_PATH/config"
118
+ '
119
+
120
test_expect_success "setup for config replace test" '
121
cp "$IPFS_PATH/config" newconfig.json &&
122
sed -i"~" -e /PrivKey/d -e s/10GB/11GB/ newconfig.json &&
0 commit comments