Commit 5711eb8 1 parent 4cce6f8 commit 5711eb8 Copy full SHA for 5711eb8
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,16 @@ test_object_cmd() {
115
115
'
116
116
117
117
test_expect_success " ipfs object stat path succeeds" '
118
- ipfs object stat $(cat multi_patch)/a/b/c > obj_stat_out
118
+ ipfs object stat $(cat multi_patch)/a > obj_stat_out
119
119
'
120
120
121
121
test_expect_success " ipfs object stat output looks good" '
122
- echo NumLinks: 0 > obj_stat_exp &&
123
- echo BlockSize: 20 >> obj_stat_exp &&
124
- echo LinksSize: 2 >> obj_stat_exp &&
125
- echo DataSize: 18 >> obj_stat_exp &&
126
- echo CumulativeSize: 20 >> obj_stat_exp &&
122
+ echo NumLinks: 1 > obj_stat_exp &&
123
+ echo BlockSize: 47 >> obj_stat_exp &&
124
+ echo LinksSize: 45 >> obj_stat_exp &&
125
+ echo DataSize: 2 >> obj_stat_exp &&
126
+ echo CumulativeSize: 114 >> obj_stat_exp &&
127
+
127
128
test_cmp obj_stat_out obj_stat_exp
128
129
'
129
130
You can’t perform that action at this time.
0 commit comments