File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ test_add_cat_file() {
30
30
echo "added $HASH hello.txt" >expected &&
31
31
test_cmp expected actual
32
32
'
33
-
34
33
test_expect_success " ipfs add --only-hash succeeds" '
35
34
ipfs add --only-hash mountdir/hello.txt > oh_actual
36
35
'
@@ -75,6 +74,17 @@ test_add_cat_file() {
75
74
echo "added $HASH hello.txt" >expected &&
76
75
test_cmp expected actual
77
76
'
77
+
78
+ test_expect_success " ipfs add on hidden file succeeds" '
79
+ echo "Hello Worlds!" >mountdir/.hello.txt &&
80
+ ipfs add mountdir/.hello.txt >actual
81
+ '
82
+
83
+ test_expect_success " ipfs add on hidden file output looks good" '
84
+ HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" &&
85
+ echo "added $HASH .hello.txt" >expected &&
86
+ test_cmp expected actual
87
+ '
78
88
}
79
89
80
90
test_add_cat_5MB () {
You can’t perform that action at this time.
0 commit comments