[Pkg-javascript-devel] Bug#1017250: node-mock-fs: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:49:11 BST 2022


Source: node-mock-fs
Version: 5.1.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mocha --reporter tap --recursive test
> ok 1 count(dir, callback) counts files in a directory
> ok 2 count(dir, callback) counts files in another directory
> ok 3 count(dir, callback) counts files in an empty directory
> ok 4 count(dir, callback) fails for bogus path
> ok 5 Binding constructor creates a new instance
> ok 6 Binding stat() calls callback with a Stats instance
> ok 7 Binding stat() returns a Stats instance when called synchronously
> ok 8 Binding stat() identifies files (async)
> ok 9 Binding stat() identifies files (sync)
> ok 10 Binding stat() identifies directories (async)
> ok 11 Binding stat() identifies directories (sync)
> ok 12 Binding stat() includes atime, ctime, mtime and birthtime
> ok 13 Binding stat() includes mode with file permissions (default)
> ok 14 Binding stat() includes mode with file permissions (custom)
> ok 15 Binding stat() includes size in bytes (async)
> ok 16 Binding stat() includes size in bytes (sync)
> ok 17 Binding stat() includes non-zero size for directories
> ok 18 Binding stat() includes uid for files
> ok 19 Binding stat() includes uid for directories
> ok 20 Binding stat() includes gid for files
> ok 21 Binding stat() includes gid for directories
> ok 22 Binding stat() retrieves stats of files relative to symbolic linked directories
> ok 23 Binding realpath() returns the real path for a regular file
> ok 24 Binding realpath() returns the real path for a directory
> ok 25 Binding realpath() returns the real path for a symlinked file
> ok 26 Binding realpath() returns the real path for a deeply symlinked file
> ok 27 Binding realpath() returns the real path for a symlinked directory
> ok 28 Binding realpath() returns the real path for a deeply symlinked directory
> ok 29 Binding realpath() returns the real path for a file in a symlinked directory
> ok 30 Binding realpath() accepts a buffer
> ok 31 Binding realpath() can return a buffer
> ok 32 Binding realpath() throws ENOENT for a non-existent file
> ok 33 Binding realpath() throws ENOTDIR for a file treated like a directory
> ok 34 Binding fstat() calls callback with a Stats instance
> ok 35 Binding fstat() returns a Stats instance when called synchronously
> ok 36 Binding fstat() identifies files (async)
> ok 37 Binding fstat() identifies directories (async)
> ok 38 Binding fstat() includes size in bytes (async)
> ok 39 Binding fstat() includes size in bytes (sync)
> ok 40 Binding fstat() includes non-zero size for directories
> ok 41 Binding readdir() calls callback with file list
> ok 42 Binding readdir() accepts "buffer" encoding
> ok 43 Binding readdir() returns a file list (sync)
> ok 44 Binding readdir() calls callback with file list for symbolic linked dir
> ok 45 Binding readdir() calls callback with file list for link to symbolic linked dir
> ok 46 Binding readdir() calls callback with file list for symbolic linked dir (sync)
> ok 47 Binding readdir() calls callback with error for bogus dir
> ok 48 Binding readdir() calls callback with error for file path
> ok 49 Binding readdir() calls callback with error for dead symbolic link
> ok 50 Binding readdir() calls callback with error for symbolic link to file
> ok 51 Binding readdir() calls callback with error for link to symbolic link to file
> ok 52 Binding open() creates a file descriptor for reading (r)
> ok 53 Binding open() generates error if file does not exist (r)
> ok 54 Binding open() creates a file descriptor for reading and writing (r+)
> ok 55 Binding open() does not truncate (r+)
> ok 56 Binding open() generates error if file does not exist (r+)
> ok 57 Binding open() creates a file descriptor for reading (rs)
> ok 58 Binding open() generates error if file does not exist (rs)
> ok 59 Binding open() creates a file descriptor for reading and writing (rs+)
> ok 60 Binding open() generates error if file does not exist (rs+)
> ok 61 Binding open() opens a new file for writing (w)
> ok 62 Binding open() truncates an existing file for writing (w)
> ok 63 Binding open() generates error if file is directory (w)
> ok 64 Binding open() generates error if file exists (wx)
> ok 65 Binding open() opens a new file for reading and writing (w+)
> ok 66 Binding open() truncates an existing file for writing (w+)
> ok 67 Binding open() opens a new file for reading and writing (wx+)
> ok 68 Binding open() generates error if file exists (wx+)
> ok 69 Binding open() opens a new file for appending (a)
> ok 70 Binding open() opens an existing file for appending (a)
> ok 71 Binding open() generates error if file is directory (a)
> ok 72 Binding open() opens a new file for appending (ax)
> ok 73 Binding open() generates error if file exists (ax)
> ok 74 Binding open() opens a new file for appending and reading (a+)
> ok 75 Binding open() opens an existing file for appending and reading (a+)
> ok 76 Binding open() opens a new file for appending and reading (ax+)
> ok 77 Binding open() opens an existing file for appending and reading (ax+)
> ok 78 Binding close() closes an existing file descriptor
> ok 79 Binding close() fails for closed file descriptor
> ok 80 Binding read() reads from a file
> ok 81 Binding read() reads into a Uint8Array
> ok 82 Binding read() interprets null position as current position
> ok 83 Binding read() reads from a symbolic link
> ok 84 Binding read() reads from a deeply linked symlink
> ok 85 Binding read() throws if not open for reading
> ok 86 Binding read() throws ENOTDIR when trying to open an incorrect path (nested under existing file)
> ok 87 Binding writeBuffers() writes to a file
> ok 88 Binding writeBuffers() can append to a file
> ok 89 Binding writeBuffers() can overwrite part of a file
> ok 90 Binding writeBuffers() throws if not open for writing
> ok 91 Binding rename() allows files to be renamed
> ok 92 Binding rename() allows files to be renamed (sync)
> ok 93 Binding rename() replaces existing files (sync)
> ok 94 Binding rename() allows directories to be renamed
> ok 95 Binding rename() allows directories to be renamed (sync)
> ok 96 Binding rename() calls callback with error for bogus old path
> ok 97 Binding rename() calls callback with error for file->dir rename
> ok 98 Binding rename() calls callback with error for dir->file rename
> ok 99 Binding mkdir() creates a new directory
> ok 100 Binding mkdir() fails if parent does not exist
> ok 101 Binding mkdir() fails if directory exists
> ok 102 Binding mkdir() fails if file exists
> ok 103 Binding mkdir() recursive creates a new directory
> ok 104 Binding mkdir() recursive creates a new deep directory
> ok 105 Binding mkdir() recursive fails if permission does not allow recursive creation
> ok 106 Binding mkdir() recursive fails if one parent is not a folder
> ok 107 Binding mkdir() recursive fails if file exists
> ok 108 Binding mkdir() recursive passes silently if directory exists
> ok 109 Binding mkdtemp() creates a new directory
> ok 110 Binding mkdtemp() fails if parent does not exist
> ok 111 Binding mkdtemp() fails if file exists
> ok 112 Binding rmdir() removes an empty directory
> ok 113 Binding rmdir() fails if directory is not empty
> ok 114 Binding rmdir() fails if directory does not exist
> ok 115 Binding rmdir() fails if a file exists
> ok 116 Binding ftruncate() truncates a file
> ok 117 Binding ftruncate() fails if directory
> ok 118 Binding ftruncate() fails if not open for writing
> ok 119 Binding chown() sets the uid and gid for a file
> ok 120 Binding chown() sets the uid and gid for a directory
> ok 121 Binding fchown() sets the uid and gid for a file
> ok 122 Binding fchown() sets the uid and gid for a directory
> ok 123 Binding chmod() sets the mode for a file
> ok 124 Binding chmod() sets the mode for a directory
> ok 125 Binding fchmod() sets the mode for a file
> ok 126 Binding fchmod() sets the mode for a directory
> ok 127 Binding unlink() deletes a file
> ok 128 Binding unlink() fails for directory
> ok 129 Binding unlink() fails for bogus path
> ok 130 Binding utimes() updates atime and mtime for a file
> ok 131 Binding utimes() updates atime and mtime for a directory
> ok 132 Binding utimes() fails for a bogus path
> ok 133 Binding futimes() updates atime and mtime for a file
> ok 134 Binding futimes() updates atime and mtime for a directory
> ok 135 Binding fsync() synchronize file state (noop)
> ok 136 Binding fsync() fails for closed file descriptor
> ok 137 Binding fdatasync() synchronize file state (noop)
> ok 138 Binding fdatasync() fails for closed file descriptor
> ok 139 Binding link() creates a link to a file
> ok 140 Binding link() fails if dest exists
> ok 141 Binding link() fails if source is directory
> ok 142 Binding symlink() creates a symbolic link to a file
> ok 143 Binding symlink() fails if dest exists
> ok 144 Binding symlink() works if source is directory
> ok 145 Binding readlink() reads the symbolic link
> ok 146 Binding readlink() can return "buffer" encoding
> ok 147 Binding readlink() fails for regular files
> ok 148 Binding readlink() fails for directories
> ok 149 Binding readlink() fails for bogus paths
> ok 150 Binding lstat() stats symbolic links
> ok 151 Binding access() works if file exists
> ok 152 Binding access() throws for dead link
> ok 153 Binding access() fails in case of insufficient user permissions
> ok 154 Binding access() fails in case of insufficient group permissions
> ok 155 Binding access() fails in case of insufficient permissions
> ok 156 Binding access() fails for bogus paths
> ok 157 mock.bypass() runs a synchronous function using the real filesystem
> ok 158 mock.bypass() handles functions that throw
> ok 159 mock.bypass() bypasses patched process.cwd() and process.chdir()
> ok 160 mock.bypass() runs an async function using the real filesystem
> ok 161 mock.bypass() handles promise rejection
> ok 162 FileDescriptor constructor creates a new descriptor
> ok 163 FileDescriptor getPosition() returns zero by default
> ok 164 FileDescriptor setPosition() updates the position
> ok 165 FileDescriptor isAppend() not opened for appending (r)
> ok 166 FileDescriptor isAppend() not opened for appending (r+)
> ok 167 FileDescriptor isAppend() not opened for appending (rs)
> ok 168 FileDescriptor isAppend() not opened for appending (rs+)
> ok 169 FileDescriptor isAppend() not opened for appending (w)
> ok 170 FileDescriptor isAppend() not opened for appending (wx)
> ok 171 FileDescriptor isAppend() not opened for appending (w+)
> ok 172 FileDescriptor isAppend() not opened for appending (wx+)
> ok 173 FileDescriptor isAppend() opened for appending (a)
> ok 174 FileDescriptor isAppend() opened for appending (ax)
> ok 175 FileDescriptor isAppend() opened for appending (a+)
> ok 176 FileDescriptor isAppend() opened for appending (ax+)
> ok 177 FileDescriptor isAppend() not opened for appending (O_CREAT | O_RDONLY)
> ok 178 FileDescriptor isTruncate() not opened for truncating (r)
> ok 179 FileDescriptor isTruncate() not opened for truncating (r+)
> ok 180 FileDescriptor isTruncate() not opened for truncating (rs)
> ok 181 FileDescriptor isTruncate() not opened for truncating (rs+)
> ok 182 FileDescriptor isTruncate() opened for truncating (w)
> ok 183 FileDescriptor isTruncate() opened for truncating (wx)
> ok 184 FileDescriptor isTruncate() opened for truncating (w+)
> ok 185 FileDescriptor isTruncate() opened for truncating (wx+)
> ok 186 FileDescriptor isTruncate() not opened for truncating (a)
> ok 187 FileDescriptor isTruncate() not opened for truncating (ax)
> ok 188 FileDescriptor isTruncate() not opened for truncating (a+)
> ok 189 FileDescriptor isTruncate() not opened for truncating (ax+)
> ok 190 FileDescriptor isTruncate() not opened for truncating (O_CREAT | O_RDONLY)
> ok 191 FileDescriptor isCreate() not opened for creation (r)
> ok 192 FileDescriptor isCreate() not opened for creation (r+)
> ok 193 FileDescriptor isCreate() not opened for creation (rs)
> ok 194 FileDescriptor isCreate() not opened for creation (rs+)
> ok 195 FileDescriptor isCreate() opened for creation (w)
> ok 196 FileDescriptor isCreate() opened for creation (wx)
> ok 197 FileDescriptor isCreate() opened for creation (w+)
> ok 198 FileDescriptor isCreate() opened for creation (wx+)
> ok 199 FileDescriptor isCreate() opened for creation (a)
> ok 200 FileDescriptor isCreate() opened for creation (ax)
> ok 201 FileDescriptor isCreate() opened for creation (a+)
> ok 202 FileDescriptor isCreate() opened for creation (ax+)
> ok 203 FileDescriptor isCreate() opened for creation (O_CREAT | O_RDONLY)
> ok 204 FileDescriptor isRead() opened for reading (r)
> ok 205 FileDescriptor isRead() opened for reading (r+)
> ok 206 FileDescriptor isRead() opened for reading (rs)
> ok 207 FileDescriptor isRead() opened for reading (rs+)
> ok 208 FileDescriptor isRead() not opened for reading (w)
> ok 209 FileDescriptor isRead() not opened for reading (wx)
> ok 210 FileDescriptor isRead() opened for reading (w+)
> ok 211 FileDescriptor isRead() opened for reading (wx+)
> ok 212 FileDescriptor isRead() not opened for reading (a)
> ok 213 FileDescriptor isRead() not opened for reading (ax)
> ok 214 FileDescriptor isRead() opened for reading (a+)
> ok 215 FileDescriptor isRead() opened for reading (ax+)
> ok 216 FileDescriptor isRead() opened for reading (O_CREAT | O_RDONLY)
> ok 217 FileDescriptor isWrite() not opened for writing (r)
> ok 218 FileDescriptor isWrite() opened for writing (r+)
> ok 219 FileDescriptor isWrite() not opened for writing (rs)
> ok 220 FileDescriptor isWrite() opened for writing (rs+)
> ok 221 FileDescriptor isWrite() opened for writing (w)
> ok 222 FileDescriptor isWrite() opened for writing (wx)
> ok 223 FileDescriptor isWrite() opened for writing (w+)
> ok 224 FileDescriptor isWrite() opened for writing (wx+)
> ok 225 FileDescriptor isWrite() opened for writing (a)
> ok 226 FileDescriptor isWrite() opened for writing (ax)
> ok 227 FileDescriptor isWrite() opened for writing (a+)
> ok 228 FileDescriptor isWrite() opened for writing (ax+)
> ok 229 FileDescriptor isWrite() not opened for writing (O_CREAT | O_RDONLY)
> ok 230 FileDescriptor isExclusive() not opened exclusive (r)
> ok 231 FileDescriptor isExclusive() not opened exclusive (r+)
> ok 232 FileDescriptor isExclusive() not opened exclusive (rs)
> ok 233 FileDescriptor isExclusive() not opened exclusive (rs+)
> ok 234 FileDescriptor isExclusive() not opened exclusive (w)
> ok 235 FileDescriptor isExclusive() opened exclusive (wx)
> ok 236 FileDescriptor isExclusive() not opened exclusive (w+)
> ok 237 FileDescriptor isExclusive() opened exclusive (wx+)
> ok 238 FileDescriptor isExclusive() not opened exclusive (a)
> ok 239 FileDescriptor isExclusive() opened exclusive (ax)
> ok 240 FileDescriptor isExclusive() not opened exclusive (a+)
> ok 241 FileDescriptor isExclusive() opened exclusive (ax+)
> ok 242 FileDescriptor isExclusive() not opened for exclusive (O_CREAT | O_RDONLY)
> ok 243 Directory constructor creates a named directory
> ok 244 Directory addItem() allows a directory to be added
> ok 245 Directory addItem() allows a file to be added
> ok 246 Directory addItem() returns the added item
> ok 247 Directory getItem() retrieves a named directory
> ok 248 Directory getItem() retrieves a named file
> ok 249 Directory getItem() returns null for missing item
> ok 250 Directory removeItem() allows a directory to be removed
> ok 251 Directory removeItem() allows a file to be removed
> ok 252 Directory removeItem() throws if item is not a child
> ok 253 Directory list() lists all items in a directory
> ok 254 Directory list() works for empty dir
> ok 255 Directory list() lists one level deep
> ok 256 File constructor creates a named file
> ok 257 File getContent() gets the file content
> ok 258 File getContent() is initially empty
> ok 259 File getContent() updates the atime
> ok 260 File setContent() accepts a string
> ok 261 File setContent() accepts a buffer
> ok 262 File setContent() throws for other types
> ok 263 File setContent() updates the ctime and mtime
> ok 264 FileSystem constructor creates a new instance
> ok 265 FileSystem constructor accepts a createCwd option
> ok 266 FileSystem constructor accepts a createTmp option
> ok 267 FileSystem getRoot() gets the root directory
> ok 268 FileSystem getItem() gets an item
> ok 269 FileSystem getItem() returns null if not found
> ok 270 FileSystem getItem() gets an item traversing links to symbolic links
> ok 271 FileSystem.file creates a factory for files
> ok 272 FileSystem.file accepts a content member
> ok 273 FileSystem.directory creates a factory for directories
> ok 274 FileSystem.create provides a convenient way to populate a file system
> ok 275 FileSystem.create passes options to the FileSystem constructor
> ok 276 FileSystem.create accepts file factory
> ok 277 FileSystem.create accepts file factory with uid & gid
> ok 278 FileSystem.create accepts directory factory
> ok 279 FileSystem.create accepts directory factory with uid & gid
> ok 280 FileSystem.create accepts directory factory with additional items
> ok 281 FileSystem.create correctly generates link counts
> ok 282 FileSystem.create throws if item content is not valid type
> ok 283 fs.access(path[, mode], callback) works for an accessible file
> ok 284 fs.access(path[, mode], callback) supports Buffer input
> ok 285 fs.access(path[, mode], callback) promise works for an accessible file
> ok 286 fs.access(path[, mode], callback) works 000 (and no mode arg)
> ok 287 fs.access(path[, mode], callback) promise works 000 (and no mode arg)
> ok 288 fs.access(path[, mode], callback) works F_OK and 000
> ok 289 fs.access(path[, mode], callback) promise works F_OK and 000
> ok 290 fs.access(path[, mode], callback) generates EACCES for R_OK and 000
> ok 291 fs.access(path[, mode], callback) promise generates EACCES for R_OK and 000
> ok 292 fs.access(path[, mode], callback) generates EACCES for W_OK and 000
> ok 293 fs.access(path[, mode], callback) promise generates EACCES for W_OK and 000
> ok 294 fs.access(path[, mode], callback) generates EACCES for X_OK and 000
> ok 295 fs.access(path[, mode], callback) promise generates EACCES for X_OK and 000
> ok 296 fs.access(path[, mode], callback) works 111 (and no mode arg)
> ok 297 fs.access(path[, mode], callback) promise works 111 (and no mode arg)
> ok 298 fs.access(path[, mode], callback) works F_OK and 111
> ok 299 fs.access(path[, mode], callback) promise works F_OK and 111
> ok 300 fs.access(path[, mode], callback) works X_OK and 111
> ok 301 fs.access(path[, mode], callback) promise works X_OK and 111
> ok 302 fs.access(path[, mode], callback) generates EACCES for R_OK and 111
> ok 303 fs.access(path[, mode], callback) promise generates EACCES for R_OK and 111
> ok 304 fs.access(path[, mode], callback) generates EACCES for W_OK and 111
> ok 305 fs.access(path[, mode], callback) promise generates EACCES for W_OK and 111
> ok 306 fs.access(path[, mode], callback) works for 222 (and no mode arg)
> ok 307 fs.access(path[, mode], callback) promise works for 222 (and no mode arg)
> ok 308 fs.access(path[, mode], callback) works F_OK and 222
> ok 309 fs.access(path[, mode], callback) promise works F_OK and 222
> ok 310 fs.access(path[, mode], callback) works W_OK and 222
> ok 311 fs.access(path[, mode], callback) promise works W_OK and 222
> ok 312 fs.access(path[, mode], callback) generates EACCES for R_OK and 222
> ok 313 fs.access(path[, mode], callback) promise generates EACCES for R_OK and 222
> ok 314 fs.access(path[, mode], callback) generates EACCES for X_OK and 222
> ok 315 fs.access(path[, mode], callback) promise generates EACCES for X_OK and 222
> ok 316 fs.access(path[, mode], callback) works for 333 (and no mode arg)
> ok 317 fs.access(path[, mode], callback) promise works for 333 (and no mode arg)
> ok 318 fs.access(path[, mode], callback) works F_OK and 333
> ok 319 fs.access(path[, mode], callback) promise works F_OK and 333
> ok 320 fs.access(path[, mode], callback) works W_OK and 333
> ok 321 fs.access(path[, mode], callback) promise works W_OK and 333
> ok 322 fs.access(path[, mode], callback) works X_OK and 333
> ok 323 fs.access(path[, mode], callback) promise works X_OK and 333
> ok 324 fs.access(path[, mode], callback) works X_OK | W_OK and 333
> ok 325 fs.access(path[, mode], callback) promise works X_OK | W_OK and 333
> ok 326 fs.access(path[, mode], callback) generates EACCES for R_OK and 333
> ok 327 fs.access(path[, mode], callback) promise generates EACCES for R_OK and 333
> ok 328 fs.access(path[, mode], callback) works for 444 (and no mode arg)
> ok 329 fs.access(path[, mode], callback) promise works for 444 (and no mode arg)
> ok 330 fs.access(path[, mode], callback) works F_OK and 444
> ok 331 fs.access(path[, mode], callback) promise works F_OK and 444
> ok 332 fs.access(path[, mode], callback) works R_OK and 444
> ok 333 fs.access(path[, mode], callback) promise works R_OK and 444
> ok 334 fs.access(path[, mode], callback) generates EACCES for W_OK and 444
> ok 335 fs.access(path[, mode], callback) promise generates EACCES for W_OK and 444
> ok 336 fs.access(path[, mode], callback) generates EACCES for X_OK and 444
> ok 337 fs.access(path[, mode], callback) promise generates EACCES for X_OK and 444
> ok 338 fs.access(path[, mode], callback) works for 555 (and no mode arg)
> ok 339 fs.access(path[, mode], callback) promise works for 555 (and no mode arg)
> ok 340 fs.access(path[, mode], callback) works F_OK and 555
> ok 341 fs.access(path[, mode], callback) promise works F_OK and 555
> ok 342 fs.access(path[, mode], callback) works R_OK and 555
> ok 343 fs.access(path[, mode], callback) promise works R_OK and 555
> ok 344 fs.access(path[, mode], callback) works X_OK and 555
> ok 345 fs.access(path[, mode], callback) promise works X_OK and 555
> ok 346 fs.access(path[, mode], callback) works R_OK | X_OK and 555
> ok 347 fs.access(path[, mode], callback) promise works R_OK | X_OK and 555
> ok 348 fs.access(path[, mode], callback) generates EACCES for W_OK and 555
> ok 349 fs.access(path[, mode], callback) promise generates EACCES for W_OK and 555
> ok 350 fs.access(path[, mode], callback) works for 666 (and no mode arg)
> ok 351 fs.access(path[, mode], callback) promise works for 666 (and no mode arg)
> ok 352 fs.access(path[, mode], callback) works F_OK and 666
> ok 353 fs.access(path[, mode], callback) promise works F_OK and 666
> ok 354 fs.access(path[, mode], callback) works R_OK and 666
> ok 355 fs.access(path[, mode], callback) promise works R_OK and 666
> ok 356 fs.access(path[, mode], callback) works W_OK and 666
> ok 357 fs.access(path[, mode], callback) promise works W_OK and 666
> ok 358 fs.access(path[, mode], callback) works R_OK | W_OK and 666
> ok 359 fs.access(path[, mode], callback) promise works R_OK | W_OK and 666
> ok 360 fs.access(path[, mode], callback) generates EACCES for X_OK and 666
> ok 361 fs.access(path[, mode], callback) promise generates EACCES for X_OK and 666
> ok 362 fs.access(path[, mode], callback) works for 777 (and no mode arg)
> ok 363 fs.access(path[, mode], callback) promise works for 777 (and no mode arg)
> ok 364 fs.access(path[, mode], callback) works F_OK and 777
> ok 365 fs.access(path[, mode], callback) promise works F_OK and 777
> ok 366 fs.access(path[, mode], callback) works R_OK and 777
> ok 367 fs.access(path[, mode], callback) promise works R_OK and 777
> ok 368 fs.access(path[, mode], callback) works W_OK and 777
> ok 369 fs.access(path[, mode], callback) promise works W_OK and 777
> ok 370 fs.access(path[, mode], callback) works X_OK and 777
> ok 371 fs.access(path[, mode], callback) promise works X_OK and 777
> ok 372 fs.access(path[, mode], callback) works X_OK | W_OK and 777
> ok 373 fs.access(path[, mode], callback) promise works X_OK | W_OK and 777
> ok 374 fs.access(path[, mode], callback) works X_OK | R_OK and 777
> ok 375 fs.access(path[, mode], callback) promise works X_OK | R_OK and 777
> ok 376 fs.access(path[, mode], callback) works R_OK | W_OK and 777
> ok 377 fs.access(path[, mode], callback) promise works R_OK | W_OK and 777
> ok 378 fs.access(path[, mode], callback) works R_OK | W_OK | X_OK and 777
> ok 379 fs.access(path[, mode], callback) promise works R_OK | W_OK | X_OK and 777
> ok 380 fs.access(path[, mode], callback) generates EACCESS for F_OK and an unreadable parent
> ok 381 fs.access(path[, mode], callback) promise generates EACCESS for F_OK and an unreadable parent
> ok 382 fs.accessSync(path[, mode]) works for an accessible file
> ok 383 fs.accessSync(path[, mode]) throws EACCESS for broken link
> ok 384 fs.accessSync(path[, mode]) throws ELOOP for circular link
> ok 385 fs.accessSync(path[, mode]) throws EACCESS for all but F_OK for 000
> ok 386 fs.appendFile(filename, data, [options], callback) writes a string to a new file
> ok 387 fs.appendFile(filename, data, [options], callback) promise writes a string to a new file
> ok 388 fs.appendFile(filename, data, [options], callback) appends a string to an existing file
> ok 389 fs.appendFile(filename, data, [options], callback) promise appends a string to an existing file
> ok 390 fs.appendFile(filename, data, [options], callback) appends a buffer to a file
> ok 391 fs.appendFile(filename, data, [options], callback) promise appends a buffer to a file
> ok 392 fs.appendFile(filename, data, [options], callback) appends via a symbolic link file
> ok 393 fs.appendFile(filename, data, [options], callback) promise appends via a symbolic link file
> ok 394 fs.appendFile(filename, data, [options], callback) fails if directory does not exist
> ok 395 fs.appendFile(filename, data, [options], callback) promise fails if directory does not exist
> ok 396 fs.appendFileSync(filename, data, [options] writes a string to a new file
> ok 397 fs.appendFileSync(filename, data, [options] appends a string to an existing file
> ok 398 fs.appendFileSync(filename, data, [options] fails if directory does not exist
> ok 399 fs.chmod(path, mode, callback) changes permissions of a file
> ok 400 fs.chmod(path, mode, callback) supports Buffer input
> ok 401 fs.chmod(path, mode, callback) promise changes permissions of a file
> ok 402 fs.chmod(path, mode, callback) fails if file does not exist
> ok 403 fs.chmod(path, mode, callback) promise fails if file does not exist
> ok 404 fs.chmodSync(path, mode) changes permissions of a file
> ok 405 fs.chmodSync(path, mode) fails if file does not exist
> ok 406 fs.fchmod(fd, mode, callback) changes permissions of a file
> ok 407 fs.fchmod(fd, mode, callback) promise changes permissions of a file
> ok 408 fs.fchmodSync(fd, mode) changes permissions of a file
> ok 409 fs.chown(path, uid, gid, callback) changes ownership of a file
> ok 410 fs.chown(path, uid, gid, callback) supports Buffer input
> ok 411 fs.chown(path, uid, gid, callback) promise changes ownership of a file
> ok 412 fs.chown(path, uid, gid, callback) fails if file does not exist
> ok 413 fs.chown(path, uid, gid, callback) promise fails if file does not exist
> ok 414 fs.chownSync(path, uid, gid) changes ownership of a file
> ok 415 fs.chownSync(path, uid, gid) fails if file does not exist
> ok 416 fs.fchown(fd, uid, gid, callback) changes ownership of a file
> ok 417 fs.fchown(fd, uid, gid, callback) promise changes ownership of a file
> ok 418 fs.fchownSync(fd, uid, gid) changes ownership of a file
> ok 419 fs.copyFile(src, dest[, flags], callback) copies a file to an empty directory
> ok 420 fs.copyFile(src, dest[, flags], callback) supports Buffer input
> ok 421 fs.copyFile(src, dest[, flags], callback) promise copies a file to an empty directory
> ok 422 fs.copyFile(src, dest[, flags], callback) truncates dest file if it exists
> ok 423 fs.copyFile(src, dest[, flags], callback) promise truncates dest file if it exists
> ok 424 fs.copyFile(src, dest[, flags], callback) throws if dest exists and exclusive
> ok 425 fs.copyFile(src, dest[, flags], callback) promise throws if dest exists and exclusive
> ok 426 fs.copyFile(src, dest[, flags], callback) fails if src does not exist
> ok 427 fs.copyFile(src, dest[, flags], callback) promise fails if src does not exist
> ok 428 fs.copyFile(src, dest[, flags], callback) fails if dest path does not exist
> ok 429 fs.copyFile(src, dest[, flags], callback) promise fails if dest path does not exist
> ok 430 fs.copyFile(src, dest[, flags], callback) fails if dest is a directory
> ok 431 fs.copyFile(src, dest[, flags], callback) promise fails if dest is a directory
> ok 432 fs.createReadStream(path, [options]) creates a readable stream
> ok 433 fs.createReadStream(path, [options]) allows piping to a writable stream
> ok 434 fs.createWriteStream(path[, options]) provides a write stream for a file in buffered mode
> ok 435 fs.createWriteStream(path[, options]) provides a write stream for a file
> ok 436 fs.createWriteStream(path[, options]) works when write stream is corked
> ok 437 fs.exists(path, callback) calls with true if file exists
> ok 438 fs.exists(path, callback) calls with true if directory exists
> ok 439 fs.exists(path, callback) calls with true if empty directory exists
> ok 440 fs.exists(path, callback) calls with true if nested directory exists
> ok 441 fs.exists(path, callback) calls with true if file exists
> ok 442 fs.exists(path, callback) calls with true if empty file exists
> ok 443 fs.exists(path, callback) calls with false for bogus path
> ok 444 fs.exists(path, callback) calls with false for bogus path (II)
> ok 445 fs.existsSync(path) returns true if file exists
> ok 446 fs.existsSync(path) returns true if directory exists
> ok 447 fs.existsSync(path) returns true if empty directory exists
> ok 448 fs.existsSync(path) returns true if nested directory exists
> ok 449 fs.existsSync(path) returns true if file exists
> ok 450 fs.existsSync(path) returns true if empty file exists
> ok 451 fs.existsSync(path) returns false for bogus path
> ok 452 fs.existsSync(path) returns false for bogus path (II)
> ok 453 fs.link(srcpath, dstpath, callback) creates a link to a file
> ok 454 fs.link(srcpath, dstpath, callback) supports Buffer input
> ok 455 fs.link(srcpath, dstpath, callback) promise creates a link to a file
> ok 456 fs.link(srcpath, dstpath, callback) works if original is renamed
> ok 457 fs.link(srcpath, dstpath, callback) promise works if original is renamed
> ok 458 fs.link(srcpath, dstpath, callback) works if original is removed
> ok 459 fs.link(srcpath, dstpath, callback) promise works if original is removed
> ok 460 fs.link(srcpath, dstpath, callback) fails if original is a directory
> ok 461 fs.link(srcpath, dstpath, callback) promise fails if original is a directory
> ok 462 fs.linkSync(srcpath, dstpath) creates a link to a file
> ok 463 fs.linkSync(srcpath, dstpath) works if original is renamed
> ok 464 fs.linkSync(srcpath, dstpath) works if original is removed
> ok 465 fs.linkSync(srcpath, dstpath) fails if original is a directory
> ok 466 fs.symlink(srcpath, dstpath, [type], callback) creates a symbolic link to a file
> ok 467 fs.symlink(srcpath, dstpath, [type], callback) supports Buffer input
> ok 468 fs.symlink(srcpath, dstpath, [type], callback) promise creates a symbolic link to a file
> ok 469 fs.symlink(srcpath, dstpath, [type], callback) breaks if original is renamed
> ok 470 fs.symlink(srcpath, dstpath, [type], callback) promise breaks if original is renamed
> ok 471 fs.symlink(srcpath, dstpath, [type], callback) works if original is a directory
> ok 472 fs.symlink(srcpath, dstpath, [type], callback) promise works if original is a directory
> ok 473 fs.symlinkSync(srcpath, dstpath, [type]) creates a symbolic link to a file
> ok 474 fs.symlinkSync(srcpath, dstpath, [type]) breaks if original is renamed
> ok 475 fs.symlinkSync(srcpath, dstpath, [type]) works if original is a directory
> ok 476 fs.lstat(path, options, callback) stats a symbolic link
> not ok 477 fs.lstat(path, options, callback) stats a symbolic link with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 478 fs.lstat(path, options, callback) suports Buffer input
> not ok 479 fs.lstat(path, options, callback) suports Buffer input with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 480 fs.lstat(path, options, callback) promise stats a symbolic link
> not ok 481 fs.lstat(path, options, callback) promise stats a symbolic link with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.lstat (node:internal/fs/promises:731:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 482 fs.lstat(path, options, callback) stats a regular file
> not ok 483 fs.lstat(path, options, callback) stats a regular file with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 484 fs.lstat(path, options, callback) promise stats a regular file
> not ok 485 fs.lstat(path, options, callback) promise stats a regular file with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.lstat (node:internal/fs/promises:731:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 486 fs.lstat(path, options, callback) fails on file not exist
> ok 487 fs.lstat(path, options, callback) promise fails on file not exist
> ok 488 fs.lstatSync(path, options) stats a symbolic link
> not ok 489 fs.lstatSync(path, options) stats a symbolic link with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.lstatSync (node:fs:1575:10)
>       at Context.<anonymous> (test/lib/fs.lstat.spec.js:177:22)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:789:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:591:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
>       at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
>       at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:389:7)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:559:5)
>       at process.processImmediate (node:internal/timers:471:21)
> ok 490 fs.lstatSync(path, options) stats a regular file
> not ok 491 fs.lstatSync(path, options) stats a regular file with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.lstatSync (node:fs:1575:10)
>       at Context.<anonymous> (test/lib/fs.lstat.spec.js:191:22)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:789:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:591:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
>       at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
>       at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:389:7)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:559:5)
>       at process.processImmediate (node:internal/timers:471:21)
> ok 492 fs.lstatSync(path, options) fails on file not exist
> ok 493 fs.mkdir(path, [mode], callback) creates a new directory
> ok 494 fs.mkdir(path, [mode], callback) supports Buffer input
> ok 495 fs.mkdir(path, [mode], callback) promise creates a new directory
> ok 496 fs.mkdir(path, [mode], callback) creates a new directory recursively
> ok 497 fs.mkdir(path, [mode], callback) promise creates a new directory recursively
> ok 498 fs.mkdir(path, [mode], callback) accepts dir mode
> ok 499 fs.mkdir(path, [mode], callback) promise accepts dir mode
> ok 500 fs.mkdir(path, [mode], callback) accepts dir mode recursively
> ok 501 fs.mkdir(path, [mode], callback) promise accepts dir mode recursively
> ok 502 fs.mkdir(path, [mode], callback) fails if parent does not exist
> ok 503 fs.mkdir(path, [mode], callback) promise fails if parent does not exist
> ok 504 fs.mkdir(path, [mode], callback) fails if one parent is not a folder in recursive creation
> ok 505 fs.mkdir(path, [mode], callback) promise fails if one parent is not a folder in recursive creation
> ok 506 fs.mkdir(path, [mode], callback) fails if permission does not allow recursive creation
> ok 507 fs.mkdir(path, [mode], callback) promise fails if permission does not allow recursive creation
> ok 508 fs.mkdir(path, [mode], callback) fails if directory already exists
> ok 509 fs.mkdir(path, [mode], callback) promise fails if directory already exists
> ok 510 fs.mkdir(path, [mode], callback) fails if file already exists
> ok 511 fs.mkdir(path, [mode], callback) promise fails if file already exists
> ok 512 fs.mkdir(path, [mode], callback) fails in recursive mode if file already exists
> ok 513 fs.mkdir(path, [mode], callback) promise fails in recursive mode if file already exists
> ok 514 fs.mkdir(path, [mode], callback) passes in recursive mode if directory already exists
> ok 515 fs.mkdir(path, [mode], callback) promise passes in recursive mode if directory already exists
> ok 516 fs.mkdir(path, [mode], callback) fails if parent is not writeable
> ok 517 fs.mkdir(path, [mode], callback) promise fails if parent is not writeable
> ok 518 fs.mkdir(path, [mode], callback) calls callback with a single argument on success
> ok 519 fs.mkdir(path, [mode], callback) calls callback with a single argument on failure
> ok 520 fs.mkdirSync(path, [mode]) creates a new directory
> ok 521 fs.mkdirSync(path, [mode]) creates a new directory recursively
> ok 522 fs.mkdirSync(path, [mode]) accepts dir mode
> ok 523 fs.mkdirSync(path, [mode]) accepts dir mode recursively
> ok 524 fs.mkdirSync(path, [mode]) fails if parent does not exist
> ok 525 fs.mkdirSync(path, [mode]) fails if one parent is not a folder in recursive creation
> ok 526 fs.mkdirSync(path, [mode]) fails if permission does not allow recursive creation
> ok 527 fs.mkdirSync(path, [mode]) fails if directory already exists
> ok 528 fs.mkdirSync(path, [mode]) fails if file already exists
> ok 529 fs.mkdirSync(path, [mode]) fails in recursive mode if file already exists
> ok 530 fs.mkdirSync(path, [mode]) passes in recursive mode if directory already exists
> ok 531 fs.mkdirSync(path, [mode]) fails if parent is not writeable
> ok 532 fs.mkdtemp(prefix[, options], callback) creates a new directory
> ok 533 fs.mkdtemp(prefix[, options], callback) promise creates a new directory
> ok 534 fs.mkdtemp(prefix[, options], callback) accepts a "utf8" encoding argument
> ok 535 fs.mkdtemp(prefix[, options], callback) promise accepts a "utf8" encoding argument
> ok 536 fs.mkdtemp(prefix[, options], callback) accepts a "buffer" encoding argument
> ok 537 fs.mkdtemp(prefix[, options], callback) promise accepts a "buffer" encoding argument
> ok 538 fs.mkdtemp(prefix[, options], callback) accepts an options argument with "utf8" encoding
> ok 539 fs.mkdtemp(prefix[, options], callback) promise accepts an options argument with "utf8" encoding
> ok 540 fs.mkdtemp(prefix[, options], callback) accepts an options argument with "buffer" encoding
> ok 541 fs.mkdtemp(prefix[, options], callback) promise accepts an options argument with "buffer" encoding
> ok 542 fs.mkdtemp(prefix[, options], callback) fails if parent does not exist
> ok 543 fs.mkdtemp(prefix[, options], callback) promise fails if parent does not exist
> ok 544 fs.mkdtemp(prefix[, options], callback) fails if parent is a file
> ok 545 fs.mkdtemp(prefix[, options], callback) promise fails if parent is a file
> ok 546 fs.mkdtemp(prefix[, options], callback) fails if parent is not writeable
> ok 547 fs.mkdtemp(prefix[, options], callback) promise fails if parent is not writeable
> ok 548 fs.mkdtempSync(prefix[, options]) creates a new directory
> ok 549 fs.mkdtempSync(prefix[, options]) accepts a "utf8" encoding argument
> ok 550 fs.mkdtempSync(prefix[, options]) accepts a "buffer" encoding argument
> ok 551 fs.mkdtempSync(prefix[, options]) accepts an options argument with "utf8" encoding
> ok 552 fs.mkdtempSync(prefix[, options]) accepts an options argument with "buffer" encoding
> ok 553 fs.mkdtempSync(prefix[, options]) fails if parent does not exist
> ok 554 fs.mkdtempSync(prefix[, options]) fails if parent is a file
> ok 555 fs.mkdtempSync(prefix[, options]) fails if parent is not writeable
> ok 556 fs.open(path, flags, [mode], callback) opens an existing file for reading (r)
> ok 557 fs.open(path, flags, [mode], callback) supports Buffer input
> ok 558 fs.open(path, flags, [mode], callback) promise opens an existing file for reading (r)
> ok 559 fs.open(path, flags, [mode], callback) fails if file does not exist (r)
> ok 560 fs.open(path, flags, [mode], callback) promise fails if file does not exist (r)
> ok 561 fs.open(path, flags, [mode], callback) creates a new file for writing (w)
> ok 562 fs.open(path, flags, [mode], callback) promise creates a new file for writing (w)
> ok 563 fs.open(path, flags, [mode], callback) opens an existing file for writing (w)
> ok 564 fs.open(path, flags, [mode], callback) promise opens an existing file for writing (w)
> ok 565 fs.open(path, flags, [mode], callback) fails if file exists (wx)
> ok 566 fs.open(path, flags, [mode], callback) promise fails if file exists (wx)
> ok 567 fs.openSync(path, flags, [mode]) opens an existing file for reading (r)
> ok 568 fs.openSync(path, flags, [mode]) fails if file does not exist (r)
> ok 569 fs.openSync(path, flags, [mode]) creates a new file for writing (w)
> ok 570 fs.openSync(path, flags, [mode]) opens an existing file for writing (w)
> ok 571 fs.openSync(path, flags, [mode]) fails if file exists (wx)
> ok 572 fs.close(fd, callback) closes a file descriptor
> ok 573 fs.close(fd, callback) promise closes a file descriptor
> ok 574 fs.close(fd, callback) fails for closed file descriptors
> ok 575 fs.close(fd, callback) promise fails for closed file descriptors # SKIP -
> ok 576 fs.closeSync(fd) closes a file descriptor
> ok 577 fs.closeSync(fd) fails for closed file descriptors
> ok 578 fs.read(fd, buffer, offset, length, position, callback) allows file contents to be read
> ok 579 fs.read(fd, buffer, offset, length, position, callback) promise allows file contents to be read
> ok 580 fs.read(fd, buffer, offset, length, position, callback) allows file contents to be read w/ offset
> ok 581 fs.read(fd, buffer, offset, length, position, callback) promise allows file contents to be read w/ offset
> ok 582 fs.read(fd, buffer, offset, length, position, callback) allows file contents to be read w/ length
> ok 583 fs.read(fd, buffer, offset, length, position, callback) promise allows file contents to be read w/ length
> ok 584 fs.read(fd, buffer, offset, length, position, callback) allows file contents to be read w/ offset & length
> ok 585 fs.read(fd, buffer, offset, length, position, callback) promise allows file contents to be read w/ offset & length
> ok 586 fs.read(fd, buffer, offset, length, position, callback) allows file contents to be read w/ position
> ok 587 fs.read(fd, buffer, offset, length, position, callback) promise allows file contents to be read w/ position
> ok 588 fs.read(fd, buffer, offset, length, position, callback) allows read w/ offset, length, & position
> ok 589 fs.read(fd, buffer, offset, length, position, callback) promise allows read w/ offset, length, & position
> ok 590 fs.read(fd, buffer, offset, length, position, callback) fails for closed file descriptor
> ok 591 fs.read(fd, buffer, offset, length, position, callback) promise fails for closed file descriptor
> ok 592 fs.read(fd, buffer, offset, length, position, callback) fails if not open for reading
> ok 593 fs.read(fd, buffer, offset, length, position, callback) promise fails if not open for reading
> ok 594 fs.readSync(fd, buffer, offset, length, position) allows a file to be read synchronously
> ok 595 fs.readSync(fd, buffer, offset, length, position) allows a file to be read in two parts
> ok 596 fs.readSync(fd, buffer, offset, length, position) treats null position as current position
> ok 597 fs.readFile(filename, [options], callback) allows a file to be read asynchronously
> ok 598 fs.readFile(filename, [options], callback) promise allows a file to be read asynchronously
> ok 599 fs.readFile(filename, [options], callback) fails for directory
> ok 600 fs.readFile(filename, [options], callback) promise fails for directory
> ok 601 fs.readFile(filename, [options], callback) fails for bad path
> ok 602 fs.readFile(filename, [options], callback) promise fails for bad path
> ok 603 fs.readFileSync(filename, [options]) allows a file to be read synchronously
> ok 604 fs.readFileSync(filename, [options]) fails for directory
> ok 605 fs.readFileSync(filename, [options]) fails for bad path
> ok 606 fs.readdir(path, callback) lists directory contents
> ok 607 fs.readdir(path, callback) supports Buffer input
> ok 608 fs.readdir(path, callback) promise lists directory contents
> ok 609 fs.readdir(path, callback) lists nested directory contents
> ok 610 fs.readdir(path, callback) promise lists nested directory contents
> ok 611 fs.readdir(path, callback) calls with an error for bogus path
> ok 612 fs.readdir(path, callback) promise calls with an error for bogus path
> ok 613 fs.readdir(path, callback) calls with an error for restricted path
> ok 614 fs.readdir(path, callback) promise calls with an error for restricted path
> ok 615 fs.readdir(path, callback) should support "withFileTypes" option
> ok 616 fs.readdir(path, callback) should support "withFileTypes" option
> ok 617 fs.readdir(path, callback) should support "withFileTypes" option with "encoding" option
> ok 618 fs.readdir(path, callback) should support "withFileTypes" option with "encoding" option
> ok 619 fs.readdirSync(path) lists directory contents
> ok 620 fs.readdirSync(path) lists nested directory contents
> ok 621 fs.readdirSync(path) throws for bogus path
> ok 622 fs.readdirSync(path) throws when access refused
> ok 623 fs.readlink(path, callback) reads a symbolic link
> ok 624 fs.readlink(path, callback) supports Buffer input
> ok 625 fs.readlink(path, callback) promise reads a symbolic link
> ok 626 fs.readlink(path, callback) fails for regular files
> ok 627 fs.readlink(path, callback) promise fails for regular files
> ok 628 fs.readlinkSync(path) reads a symbolic link
> ok 629 fs.readlinkSync(path) fails for regular files
> not ok 630 fs.realpath(path, [cache], callback) resolves the real path for a symbolic link
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 631 fs.realpath(path, [cache], callback) promise resolves the real path for a symbolic link
> not ok 632 fs.realpath(path, [cache], callback) resolves the real path regular file
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 633 fs.realpath(path, [cache], callback) promise resolves the real path regular file
> not ok 634 fs.realpath(path, [cache], callback) fails on file not exist
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 635 fs.realpath(path, [cache], callback) promise fails on file not exist
> ok 636 fs.realpath.native(path, [cache], callback) resolves the real path for a symbolic link
> ok 637 fs.realpath.native(path, [cache], callback) resolves the real path regular file
> ok 638 fs.realpath.native(path, [cache], callback) fails on file not exist
> ok 639 fs.realpathSync(path, [cache]) resolves the real path for a symbolic link
> ok 640 fs.realpathSync(path, [cache]) resolves the real path regular file
> ok 641 fs.realpathSync(path, [cache]) fails on file not exist
> ok 642 fs.realpathSync.native(path, [cache]) resolves the real path for a symbolic link
> ok 643 fs.realpathSync.native(path, [cache]) resolves the real path regular file
> ok 644 fs.realpathSync.native(path, [cache]) fails on file not exist
> ok 645 fs.rename(oldPath, newPath, callback) allows files to be renamed
> ok 646 fs.rename(oldPath, newPath, callback) supports Buffer input
> ok 647 fs.rename(oldPath, newPath, callback) promise allows files to be renamed
> ok 648 fs.rename(oldPath, newPath, callback) updates mtime of parent directory
> ok 649 fs.rename(oldPath, newPath, callback) promise updates mtime of parent directory
> ok 650 fs.rename(oldPath, newPath, callback) calls callback with error if old path does not exist
> ok 651 fs.rename(oldPath, newPath, callback) promise calls callback with error if old path does not exist
> ok 652 fs.rename(oldPath, newPath, callback) overwrites existing files
> ok 653 fs.rename(oldPath, newPath, callback) promise overwrites existing files
> ok 654 fs.rename(oldPath, newPath, callback) allows directories to be renamed
> ok 655 fs.rename(oldPath, newPath, callback) promise allows directories to be renamed
> ok 656 fs.rename(oldPath, newPath, callback) calls callback with error if new directory not empty
> ok 657 fs.rename(oldPath, newPath, callback) promise calls callback with error if new directory not empty
> ok 658 fs.renameSync(oldPath, newPath) allows files to be renamed
> ok 659 fs.renameSync(oldPath, newPath) overwrites existing files
> ok 660 fs.renameSync(oldPath, newPath) allows directories to be renamed
> ok 661 fs.renameSync(oldPath, newPath) replaces existing directories (if empty)
> ok 662 fs.renameSync(oldPath, newPath) renames symbolic links
> ok 663 fs.renameSync(oldPath, newPath) throws if old path does not exist
> ok 664 fs.renameSync(oldPath, newPath) throws if new path basename is not directory
> ok 665 fs.renameSync(oldPath, newPath) throws if new dir is not empty dir
> ok 666 fs.rmdir(path, callback) removes an empty directory
> ok 667 fs.rmdir(path, callback) supports Buffer input
> ok 668 fs.rmdir(path, callback) promise removes an empty directory
> ok 669 fs.rmdir(path, callback) fails if not empty
> ok 670 fs.rmdir(path, callback) promise fails if not empty
> ok 671 fs.rmdir(path, callback) fails if file
> ok 672 fs.rmdir(path, callback) promise fails if file
> (node:41902) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 673 fs.rmdir(path, callback) recursively remove empty directory
> ok 674 fs.rmdir(path, callback) promise recursively remove empty directory
> ok 675 fs.rmdir(path, callback) recursively remove non-empty directory
> ok 676 fs.rmdir(path, callback) promise recursively remove non-empty directory
> ok 677 fs.rmdir(path, callback) fails if parent is not writeable
> ok 678 fs.rmdir(path, callback) promise fails if parent is not writeable
> ok 679 fs.rmdirSync(path) removes an empty directory
> ok 680 fs.rmdirSync(path) fails if directory does not exist
> ok 681 fs.rmdirSync(path) fails if not empty
> ok 682 fs.rmdirSync(path) fails if file
> ok 683 fs.rmdirSync(path) recursively remove empty directory
> ok 684 fs.rmdirSync(path) recursively remove non-empty directory
> ok 685 fs.rmdirSync(path) fails if parent is not writeable
> ok 686 fs.stat(path, options, callback) creates an instance of fs.Stats # SKIP -
> ok 687 fs.stat(path, options, callback) promise creates an instance of fs.Stats # SKIP -
> ok 688 fs.stat(path, options, callback) identifies files
> not ok 689 fs.stat(path, options, callback) identifies files with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 690 fs.stat(path, options, callback) supports Buffer input
> not ok 691 fs.stat(path, options, callback) supports Buffer input with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 692 fs.stat(path, options, callback) promise identifies files
> not ok 693 fs.stat(path, options, callback) promise identifies files
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.stat (node:internal/fs/promises:738:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 694 fs.stat(path, options, callback) identifies directories
> not ok 695 fs.stat(path, options, callback) identifies directories with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 696 fs.stat(path, options, callback) promise identifies directories
> not ok 697 fs.stat(path, options, callback) promise identifies directories with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.stat (node:internal/fs/promises:738:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 698 fs.stat(path, options, callback) provides file stats
> not ok 699 fs.stat(path, options, callback) provides file stats with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 700 fs.stat(path, options, callback) promise provides file stats
> not ok 701 fs.stat(path, options, callback) promise provides file stats with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.stat (node:internal/fs/promises:738:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 702 fs.stat(path, options, callback) includes blocks and blksize in stats
> ok 703 fs.stat(path, options, callback) promise includes blocks and blksize in stats
> ok 704 fs.stat(path, options, callback) provides directory stats
> not ok 705 fs.stat(path, options, callback) provides directory stats with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 706 fs.stat(path, options, callback) promise provides directory stats
> not ok 707 fs.stat(path, options, callback) promise provides directory stats with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.stat (node:internal/fs/promises:738:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
> ok 708 fs.stat(path, options, callback) includes blocks and blksize in directory stats
> ok 709 fs.stat(path, options, callback) promise includes blocks and blksize in directory stats
> ok 710 fs.fstat(fd, options, callback) accepts a file descriptor for a file (r)
> not ok 711 fs.fstat(fd, options, callback) accepts a file descriptor for a file (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 712 fs.fstat(fd, options, callback) promise accepts a file descriptor for a file (r)
> not ok 713 fs.fstat(fd, options, callback) promise accepts a file descriptor for a file (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at fstat (node:internal/fs/promises:724:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
>       at async fsCall (node:internal/fs/promises:371:12)
> ok 714 fs.fstat(fd, options, callback) accepts a file descriptor for a directory (r)
> not ok 715 fs.fstat(fd, options, callback) accepts a file descriptor for a directory (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at FSReqCallback.oncomplete (node:fs:212:13)
>       at /<<PKGBUILDDIR>>/lib/binding.js:74:9
>       at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
> ok 716 fs.fstat(fd, options, callback) promise accepts a file descriptor for a directory (r)
> not ok 717 fs.fstat(fd, options, callback) promise accepts a file descriptor for a directory (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at fstat (node:internal/fs/promises:724:10)
>       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
>       at async fsCall (node:internal/fs/promises:371:12)
> ok 718 fs.fstat(fd, options, callback) fails for bad file descriptor
> ok 719 fs.fstat(fd, options, callback) promise fails for bad file descriptor
> ok 720 fs.fstatSync(fd, options) accepts a file descriptor for a file (r)
> not ok 721 fs.fstatSync(fd, options) accepts a file descriptor for a file (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.fstatSync (node:fs:1553:10)
>       at Context.<anonymous> (test/lib/fs.stat-fstat.spec.js:516:22)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:789:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:591:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
>       at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
>       at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:389:7)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:559:5)
>       at process.processImmediate (node:internal/timers:471:21)
> ok 722 fs.fstatSync(fd, options) accepts a file descriptor for a directory (r)
> not ok 723 fs.fstatSync(fd, options) accepts a file descriptor for a directory (r) with bigint
>   Cannot mix BigInt and other types, use explicit conversions
>   TypeError: Cannot mix BigInt and other types, use explicit conversions
>       at msFromTimeSpec (node:internal/fs/utils:451:14)
>       at getStatsFromBinding (node:internal/fs/utils:554:5)
>       at Object.fstatSync (node:fs:1553:10)
>       at Context.<anonymous> (test/lib/fs.stat-fstat.spec.js:530:22)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:666:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:789:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:581:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:591:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:474:14)
>       at cbHookRun (/usr/share/nodejs/mocha/lib/runner.js:539:7)
>       at done (/usr/share/nodejs/mocha/lib/runnable.js:310:5)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:389:7)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at next (/usr/share/nodejs/mocha/lib/runner.js:498:10)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:559:5)
>       at process.processImmediate (node:internal/timers:471:21)
> ok 724 fs.fstatSync(fd, options) fails for bad file descriptor
> ok 725 fs.unlink(path, callback) deletes a file
> ok 726 fs.unlink(path, callback) supports Buffer input
> ok 727 fs.unlink(path, callback) promise deletes a file
> ok 728 fs.unlink(path, callback) updates mtime of parent
> ok 729 fs.unlink(path, callback) updates mtime of parent
> ok 730 fs.unlink(path, callback) fails for a directory
> ok 731 fs.unlink(path, callback) promise fails for a directory
> ok 732 fs.unlink(path, callback) respects previously opened file descriptors
> ok 733 fs.unlink(path, callback) promise respects previously opened file descriptors
> ok 734 fs.unlinkSync(path) deletes a file
> ok 735 fs.unlinkSync(path) respects previously opened file descriptors
> ok 736 fs.utimes(path, atime, mtime, callback) updates timestamps for a file
> ok 737 fs.utimes(path, atime, mtime, callback) supports Buffer input
> ok 738 fs.utimes(path, atime, mtime, callback) promise updates timestamps for a file
> ok 739 fs.utimes(path, atime, mtime, callback) updates timestamps for a directory
> ok 740 fs.utimes(path, atime, mtime, callback) promise updates timestamps for a directory
> ok 741 fs.utimes(path, atime, mtime, callback) fails for a bogus path
> ok 742 fs.utimes(path, atime, mtime, callback) promise fails for a bogus path
> ok 743 fs.utimesSync(path, atime, mtime) updates timestamps for a file
> ok 744 fs.futimes(fd, atime, mtime, callback) updates timestamps for a file
> ok 745 fs.futimes(fd, atime, mtime, callback) promise updates timestamps for a file
> ok 746 fs.futimes(fd, atime, mtime, callback) updates timestamps for a directory
> ok 747 fs.futimes(fd, atime, mtime, callback) promise updates timestamps for a directory
> ok 748 fs.futimesSync(path, atime, mtime) updates timestamps for a file
> ok 749 fs.write(fd, buffer, offset, length, position, callback) writes a buffer to a file
> ok 750 fs.write(fd, buffer, offset, length, position, callback) promise writes a buffer to a file
> ok 751 fs.write(fd, buffer, offset, length, position, callback) writes a buffer to a file with implicit offset, length, position
> ok 752 fs.write(fd, buffer, offset, length, position, callback) promise writes a buffer to a file with implicit offset, length, position
> ok 753 fs.write(fd, buffer, offset, length, position, callback) can write a portion of a buffer to a file
> ok 754 fs.write(fd, buffer, offset, length, position, callback) promise can write a portion of a buffer to a file
> ok 755 fs.write(fd, buffer, offset, length, position, callback) can write a portion of a buffer to a file position
> ok 756 fs.write(fd, buffer, offset, length, position, callback) promise can write a portion of a buffer to a file position
> ok 757 fs.write(fd, buffer, offset, length, position, callback) can write a portion of a buffer to a file position and enlarge the file
> ok 758 fs.write(fd, buffer, offset, length, position, callback) promise can write a portion of a buffer to a file position and enlarge the file
> ok 759 fs.write(fd, buffer, offset, length, position, callback) can append to a file
> ok 760 fs.write(fd, buffer, offset, length, position, callback) promise can append to a file
> ok 761 fs.write(fd, buffer, offset, length, position, callback) fails if file not open for writing
> ok 762 fs.write(fd, buffer, offset, length, position, callback) fails if file not open for writing
> ok 763 fs.writeSync(fd, buffer, offset, length, position) writes a buffer to a file
> ok 764 fs.writeSync(fd, buffer, offset, length, position) can write a portion of a buffer to a file
> ok 765 fs.writeSync(fd, buffer, offset, length, position) can append to a file
> ok 766 fs.writeSync(fd, buffer, offset, length, position) fails if file not open for writing
> ok 767 fs.write(fd, data[, position[, encoding]], callback) writes a string to a file
> ok 768 fs.write(fd, data[, position[, encoding]], callback) promise writes a string to a file
> ok 769 fs.write(fd, data[, position[, encoding]], callback) writes a string to a file with implicit position and encoding
> ok 770 fs.write(fd, data[, position[, encoding]], callback) promise writes a string to a file with implicit position and encoding
> ok 771 fs.write(fd, data[, position[, encoding]], callback) can append to a file
> ok 772 fs.write(fd, data[, position[, encoding]], callback) promise can append to a file
> ok 773 fs.write(fd, data[, position[, encoding]], callback) can write to a position of a file
> ok 774 fs.write(fd, data[, position[, encoding]], callback) promise can write to a position of a file
> ok 775 fs.write(fd, data[, position[, encoding]], callback) can write to a position of a file and enlarge it
> ok 776 fs.write(fd, data[, position[, encoding]], callback) promise can write to a position of a file and enlarge it
> ok 777 fs.write(fd, data[, position[, encoding]], callback) fails if file not open for writing
> ok 778 fs.write(fd, data[, position[, encoding]], callback) promise fails if file not open for writing
> ok 779 fs.writeSync(fd, data[, position[, encoding]]) writes a string to a file
> ok 780 fs.writeSync(fd, data[, position[, encoding]]) can append to a file
> ok 781 fs.writeSync(fd, data[, position[, encoding]]) fails if file not open for writing
> ok 782 fs.writeFile(filename, data, [options], callback) writes a string to a file
> ok 783 fs.writeFile(filename, data, [options], callback) promise writes a string to a file
> ok 784 fs.writeFile(filename, data, [options], callback) updates mtime of parent directory
> ok 785 fs.writeFile(filename, data, [options], callback) promise updates mtime of parent directory
> ok 786 fs.writeFile(filename, data, [options], callback) writes a buffer to a file
> ok 787 fs.writeFile(filename, data, [options], callback) promise writes a buffer to a file
> ok 788 fs.writeFile(filename, data, [options], callback) fails if directory does not exist
> ok 789 fs.writeFile(filename, data, [options], callback) promise fails if directory does not exist
> ok 790 fs.writeFileSync(filename, data, [options] writes a string to a file
> ok 791 fs.writeFileSync(filename, data, [options] writes a buffer to a file
> ok 792 fs.writeFileSync(filename, data, [options] fails if directory does not exist
> ok 793 The API mock() configures the real fs module with a mock file system
> ok 794 The API mock() provides direct access to the internal filesystem object
> ok 795 The API mock() creates process.cwd() and os.tmpdir() by default
> ok 796 The API mock() passes the createCwd option to the FileSystem constructor
> ok 797 The API mock() passes the createTmp option to the FileSystem constructor
> ok 798 The API mock() uses the real fs module in require() calls # SKIP -
> ok 799 The API mock.restore() restores bindings for the real file system
> ok 800 The API mock.file() lets you create files with additional properties
> ok 801 The API mock.directory() lets you create directories with more properties
> ok 802 The API mock.directory() works with a trailing slash
> ok 803 The API mock.directory() works without a trailing slash
> ok 804 The API mock.symlink() lets you create symbolic links
> ok 805 The API mock.load() File creates a File factory with correct attributes
> ok 806 The API mock.load() File lazy=false loads file content
> ok 807 The API mock.load() File can read file from mocked FS
> ok 808 The API mock.load() File lazy=true creates accessors
> ok 809 The API mock.load() File lazy=true read file loads data and replaces accessors
> ok 810 The API mock.load() File lazy=true write file updates content and replaces accessors
> ok 811 The API mock.load() Dir creates a Directory factory with correct attributes
> ok 812 The API mock.load() Dir recursive=false creates files & does not recurse
> ok 813 The API mock.load() Dir can read file from mocked FS
> ok 814 The API mock.load() Dir recursive=true creates all files & dirs
> ok 815 The API mock.load() Dir recursive=true respects lazy setting
> ok 816 The API mock.fs() generates a mock fs module with a mock file system # SKIP -
> ok 817 The API mock.fs() passes options to the FileSystem constructor # SKIP -
> ok 818 The API mock.fs() accepts an arbitrary nesting of files and directories # SKIP -
> ok 819 process.cwd() maintains current working directory
> ok 820 process.cwd() allows changing directory
> ok 821 process.cwd() prevents changing directory to non-existent path
> ok 822 process.cwd() prevents changing directory to non-directory path
> ok 823 process.cwd() restores original methods on restore
> ok 824 process.cwd() restores original working directory on restore
> ok 825 security denies dir listing without execute on parent
> ok 826 security denies file read without execute on parent
> ok 827 security denies file read without read on file
> ok 828 security denies file write without write on file
> ok 829 Item constructor creates a new instance
> ok 830 Item getATime() returns a date
> ok 831 Item setATime() sets the atime
> ok 832 Item getCTime() returns a date
> ok 833 Item setCTime() sets the ctime
> ok 834 Item getBirthtime() returns a date
> ok 835 Item setBirthtime() sets the birthtime
> ok 836 Item getMTime() returns a date
> ok 837 Item setMTime() sets the mtime
> ok 838 Item getMode() returns a number
> ok 839 Item setMode() sets the mode
> ok 840 Item setMode() updates the ctime
> ok 841 Item setUid() sets the uid
> ok 842 Item setUid() updates the ctime
> ok 843 Item setGid() sets the gid
> ok 844 Item setGid() updates the ctime
> ok 845 Item canRead() returns true if owner and 0700
> ok 846 Item canRead() returns true if owner and 0600
> ok 847 Item canRead() returns true if owner and 0500
> ok 848 Item canRead() returns true if owner and 0400
> ok 849 Item canRead() returns false if owner and 0300
> ok 850 Item canRead() returns false if owner and 0200
> ok 851 Item canRead() returns false if owner and 0100
> ok 852 Item canRead() returns false if not owner and 0700 (different user)
> ok 853 Item canRead() returns false if not owner and 0700 (different group)
> ok 854 Item canRead() returns false if owner and 0170
> ok 855 Item canRead() returns true if in group and 0170
> ok 856 Item canRead() returns false if not in group and 0770
> ok 857 Item canRead() returns true if not in group and 0777
> ok 858 Item canWrite() returns true if owner and 0700
> ok 859 Item canWrite() returns true if owner and 0600
> ok 860 Item canWrite() returns false if owner and 0500
> ok 861 Item canWrite() returns false if owner and 0400
> ok 862 Item canWrite() returns true if owner and 0300
> ok 863 Item canWrite() returns true if owner and 0200
> ok 864 Item canWrite() returns false if owner and 0100
> ok 865 Item canWrite() returns false if not owner and 0700 (different user)
> ok 866 Item canWrite() returns false if not owner and 0700 (different group)
> ok 867 Item canWrite() returns false if owner and 0170
> ok 868 Item canWrite() returns true if in group and 0170
> ok 869 Item canWrite() returns false if not in group and 0770
> ok 870 Item canWrite() returns true if not in group and 0777
> ok 871 Item canExecute() returns true if owner and 0700
> ok 872 Item canExecute() returns false if owner and 0600
> ok 873 Item canExecute() returns true if owner and 0500
> ok 874 Item canExecute() returns false if owner and 0400
> ok 875 Item canExecute() returns true if owner and 0300
> ok 876 Item canExecute() returns false if owner and 0200
> ok 877 Item canExecute() returns true if owner and 0100
> ok 878 Item canExecute() returns false if not owner and 0700 (different user)
> ok 879 Item canExecute() returns false if not owner and 0700 (different group)
> ok 880 Item canExecute() returns false if owner and 0270
> ok 881 Item canExecute() returns true if in group and 0270
> ok 882 Item canExecute() returns false if not in group and 0770
> ok 883 Item canExecute() returns true if not in group and 0777
> ok 884 getReadFileContextPrototype provides access to the internal ReadFileContext
> ok 885 patchReadFileContext patch forwards calls to mocked binding when available
> ok 886 fs.readFile() with ReadFileContext allows file reads to be aborted
> ok 887 fs.readFile() with ReadFileContext allows file reads with a numeric descriptor
> ok 888 fs.readFile() with ReadFileContext allows file reads with unknown size
> # tests 881
> # pass 856
> # fail 25
> 1..888
> make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/node-mock-fs_5.1.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list