Skip to content

Commit

Permalink
Add -r when adding test directory.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
  • Loading branch information
hackergrrl committed Jun 1, 2016
1 parent fd1eae8 commit e0fb560
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/sharness/t0250-files-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test_expect_success "can create some files for testing" '
echo cats > stuff_test/a &&
echo dogs > stuff_test/b &&
echo giraffes > stuff_test/c &&
DIR1=$(ipfs add -q stuff_test | tail -n1)
DIR1=$(ipfs add -rq stuff_test | tail -n1)
'

verify_path_exists() {
Expand Down Expand Up @@ -446,9 +446,9 @@ test_expect_success "clean up objects from previous test run" '
ipfs repo gc
'

test_launch_ipfs_daemon

ONLINE=1 # set online flag so tests can easily tell
test_launch_ipfs_daemon
test_files_api
test_kill_ipfs_daemon

test_done

0 comments on commit e0fb560

Please sign in to comment.