Skip to content

Commit d548792

Browse files
committed
fix(sharness): t0250: disambiguate online/offline
1 parent 213e783 commit d548792

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/sharness/t0250-files-api.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ test_files_api() {
511511

512512
# Offending test: https://github.com/ipfs/go-ipfs/issues/8131
513513
test_expect_success "root hash not bubbled up yet $EXTRA" '
514-
test -z "$ONLINE" ||
514+
test -z "$WITH_DAEMON" ||
515515
(ipfs refs local > refsout &&
516516
test_expect_code 1 grep $ROOT_HASH refsout)
517517
'
@@ -728,13 +728,13 @@ tests_for_files_api() {
728728

729729
}
730730

731-
tests_for_files_api "online"
731+
tests_for_files_api "no-daemon"
732732

733733
test_launch_ipfs_daemon --offline
734734

735-
ONLINE=1 # set online flag so tests can easily tell
735+
WITH_DAEMON=1 # set online flag so tests can easily tell
736736

737-
tests_for_files_api "offline"
737+
tests_for_files_api "with-daemon"
738738

739739
test_kill_ipfs_daemon --offline
740740

0 commit comments

Comments
 (0)