-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for directly adding hidden file #2756
Conversation
ipfs add mountdir/.hello.txt >actual | ||
' | ||
|
||
test_expect_success "ipfs add on hiddne file output looks good" ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo. hiddne
2793ae4
to
0aa6f98
Compare
It was recently (about last 70 commits) broken and fixed. |
@@ -30,7 +30,6 @@ test_add_cat_file() { | |||
echo "added $HASH hello.txt" >expected && | |||
test_cmp expected actual | |||
' | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets go ahead and leave this newline here, lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed it.
0aa6f98
to
1550652
Compare
Fixed it. |
1550652
to
a403fd8
Compare
|
||
test_expect_success "ipfs add on hidden file succeeds" ' | ||
echo "Hello Worlds!" >mountdir/.hello.txt && | ||
ipfs add mountdir/.hello.txt >actual |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the line above is not properly indented.
Otherwise this LGTM! |
It got broken no so long ago so this is the regression test for that. License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
a403fd8
to
d527e58
Compare
License: MIT
Signed-off-by: Jakub Sztandera kubuxu@protonmail.ch