Skip to content
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

Merged
merged 1 commit into from
May 31, 2016

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented May 24, 2016

License: MIT
Signed-off-by: Jakub Sztandera [email protected]

ipfs add mountdir/.hello.txt >actual
'

test_expect_success "ipfs add on hiddne file output looks good" '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo. hiddne

@Kubuxu Kubuxu force-pushed the feature/HiddenFilesTests branch 2 times, most recently from 2793ae4 to 0aa6f98 Compare May 24, 2016 14:59
@Kubuxu Kubuxu added the need/review Needs a review label May 25, 2016
@Kubuxu
Copy link
Member Author

Kubuxu commented May 29, 2016

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
'

Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed it.

@whyrusleeping whyrusleeping added status/in-progress In progress and removed need/review Needs a review labels May 30, 2016
@Kubuxu
Copy link
Member Author

Kubuxu commented May 30, 2016

Fixed it.

@Kubuxu Kubuxu added need/review Needs a review and removed status/in-progress In progress labels May 30, 2016

test_expect_success "ipfs add on hidden file succeeds" '
echo "Hello Worlds!" >mountdir/.hello.txt &&
ipfs add mountdir/.hello.txt >actual
Copy link
Contributor

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.

@chriscool
Copy link
Contributor

Otherwise this LGTM!

@whyrusleeping whyrusleeping added need/author-input Needs input from the original author and removed need/review Needs a review labels May 31, 2016
It got broken no so long ago so this is the regression
test for that.

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
@Kubuxu Kubuxu added RFM and removed need/author-input Needs input from the original author labels May 31, 2016
@whyrusleeping whyrusleeping merged commit dcf7503 into master May 31, 2016
@whyrusleeping whyrusleeping deleted the feature/HiddenFilesTests branch May 31, 2016 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants