@@ -64,6 +64,44 @@ tests.root.refsLocal(factory);
6464
6565tests . root . cat ( factory ) ;
6666tests . root . get ( factory ) ;
67+ tests . root . add ( factory , {
68+ skip : [
69+ // ordered in the order of most likely implementation
70+ // progress:
71+ "should add a BIG Buffer with progress enabled" ,
72+ // directories:
73+ "should add a nested directory as array of tupples" ,
74+ "should add a nested directory as array of tupples with progress" ,
75+ "should add files to a directory non sequentially" ,
76+ "should wrap content in a directory" ,
77+ // unixfsv1.5 metadata
78+ "should add with mode as string" ,
79+ "should add with mode as number" ,
80+ "should add with mtime as Date" ,
81+ "should add with mtime as { nsecs, secs }" ,
82+ "should add with mtime as timespec" ,
83+ "should add with mtime as hrtime" ,
84+ // filesystem (maybe)
85+ "should add a directory from the file system" ,
86+ "should add a directory from the file system with an odd name" ,
87+ "should ignore a directory from the file system" ,
88+ "should add a file from the file system" ,
89+ "should add a hidden file in a directory from the file system" ,
90+ // raw leaves
91+ "should respect raw leaves when file is smaller than one block and no metadata is present" ,
92+ "should override raw leaves when file is smaller than one block and metadata is present" ,
93+ // only-hash=true requires "external block store" or filestore
94+ "should add with only-hash=true" ,
95+ "should add a directory with only-hash=true" ,
96+ "should add a file from the file system with only-hash=true" ,
97+ // remote
98+ "should add from a HTTP URL" ,
99+ "should add from a HTTP URL with redirection" ,
100+ "should add from a URL with only-hash=true" ,
101+ "should add from a URL with wrap-with-directory=true" ,
102+ "should add from a URL with wrap-with-directory=true and URL-escaped file name"
103+ ]
104+ } ) ;
67105// tests.repo(factory)
68106// tests.object(factory)
69107// tests.pin(factory)
0 commit comments