We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c33503 commit a403fd8Copy full SHA for a403fd8
test/sharness/t0040-add-and-cat.sh
@@ -77,6 +77,17 @@ test_add_cat_file() {
77
echo "added $HASH hello.txt" >expected &&
78
test_cmp expected actual
79
'
80
+
81
+ test_expect_success "ipfs add on hidden file succeeds" '
82
+ echo "Hello Worlds!" >mountdir/.hello.txt &&
83
+ ipfs add mountdir/.hello.txt >actual
84
+ '
85
86
+ test_expect_success "ipfs add on hidden file output looks good" '
87
+ HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" &&
88
+ echo "added $HASH .hello.txt" >expected &&
89
+ test_cmp expected actual
90
91
}
92
93
test_add_cat_5MB() {
0 commit comments