Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
df9e6ce6
Commit
df9e6ce6
authored
Jan 19, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: rename IPFS_DIR -> IPFS_PATH
closes #394
https://github.com/jbenet/go-ipfs/issues/394
parent
f6111d82
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
repo/config/config.go
repo/config/config.go
+1
-1
test/sharness/lib/test-lib.sh
test/sharness/lib/test-lib.sh
+1
-1
test/sharness/t0020-init.sh
test/sharness/t0020-init.sh
+2
-2
test/sharness/t0060-daemon.sh
test/sharness/t0060-daemon.sh
+2
-2
No files found.
repo/config/config.go
View file @
df9e6ce6
...
...
@@ -32,7 +32,7 @@ const (
// DefaultConfigFile is the filename of the configuration file
DefaultConfigFile
=
"config"
// EnvDir is the environment variable used to change the path root.
EnvDir
=
"IPFS_
DIR
"
EnvDir
=
"IPFS_
PATH
"
)
// PathRoot returns the default configuration root directory
...
...
test/sharness/lib/test-lib.sh
View file @
df9e6ce6
...
...
@@ -67,7 +67,7 @@ test_wait_output_n_lines_60_sec() {
test_init_ipfs
()
{
test_expect_success
"ipfs init succeeds"
'
export IPFS_
DIR
="$(pwd)/.go-ipfs" &&
export IPFS_
PATH
="$(pwd)/.go-ipfs" &&
ipfs init -b=1024 > /dev/null
'
...
...
test/sharness/t0020-init.sh
View file @
df9e6ce6
...
...
@@ -9,7 +9,7 @@ test_description="Test init command"
.
lib/test-lib.sh
test_expect_success
"ipfs init succeeds"
'
export IPFS_
DIR
="$(pwd)/.go-ipfs" &&
export IPFS_
PATH
="$(pwd)/.go-ipfs" &&
ipfs init >actual_init
'
...
...
@@ -35,7 +35,7 @@ test_expect_success "ipfs peer id looks good" '
test_expect_success
"ipfs init output looks good"
'
STARTHASH="QmYpv2VEsxzTTXRYX3PjDg961cnJE3kY1YDXLycHGQ3zZB" &&
echo "initializing ipfs node at $IPFS_
DIR
" >expected &&
echo "initializing ipfs node at $IPFS_
PATH
" >expected &&
echo "generating key pair...done" >>expected &&
echo "peer identity: $PEERID" >>expected &&
printf "\\n%s\\n" "to get started, enter: ipfs cat $STARTHASH" >>expected &&
...
...
test/sharness/t0060-daemon.sh
View file @
df9e6ce6
...
...
@@ -13,7 +13,7 @@ test_description="Test daemon command"
# NOTE: this should remove bootstrap peers (needs a flag)
test_expect_success
"ipfs daemon --init launches"
'
export IPFS_
DIR
="$(pwd)/.go-ipfs" &&
export IPFS_
PATH
="$(pwd)/.go-ipfs" &&
ipfs daemon --init 2>&1 >actual_init &
'
...
...
@@ -35,7 +35,7 @@ test_expect_success "ipfs peer id looks good" '
# note this is almost the same as t0020-init.sh "ipfs init output looks good"
test_expect_success
"ipfs daemon output looks good"
'
STARTHASH="QmYpv2VEsxzTTXRYX3PjDg961cnJE3kY1YDXLycHGQ3zZB" &&
echo "initializing ipfs node at $IPFS_
DIR
" >expected &&
echo "initializing ipfs node at $IPFS_
PATH
" >expected &&
echo "generating key pair...done" >>expected &&
echo "peer identity: $PEERID" >>expected &&
echo "\nto get started, enter: ipfs cat $STARTHASH" >>expected &&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment