Commit Graph

410 Commits

Author SHA1 Message Date
Felix Pojtinger
a302acbef3 feat; Add tests for symlink behaviour of Remove 2022-01-21 23:59:53 +01:00
Felix Pojtinger
9825ffb109 feat; Add tests for symlink behaviour of OpenFile 2022-01-21 23:35:43 +01:00
Felix Pojtinger
4565ece660 fix: Resolve symlinks when creating files for OsFs compatibility 2022-01-21 04:03:56 +01:00
Felix Pojtinger
be0b759538 feat; Add initial tests for symlink behaviour of open 2022-01-21 03:10:17 +01:00
Felix Pojtinger
2d0057060b feat; Add tests for symlink behaviour of mkdirAll and prevent creating directories on file paths 2022-01-21 02:35:48 +01:00
Felix Pojtinger
29d5ed7a7a feat; Add tests for symlink behaviour of mkdir 2022-01-21 01:58:10 +01:00
Felix Pojtinger
191257edaa fix: Prevent creating files in place of symlinks to directories 2022-01-21 01:12:05 +01:00
Felix Pojtinger
7c75a1e7f6 feat: Start enabling symlinks with support for multiple symlink to one file 2022-01-21 00:50:39 +01:00
Felix Pojtinger
4de7a32d2c refactor: Disable broken symlink implementation for now to prepare for table-based reimplementation 2022-01-20 23:48:59 +01:00
Felix Pojtinger
e391c02a11 refactor: Start adding tests for reading from symlinks 2022-01-20 23:24:53 +01:00
Felix Pojtinger
ed2bd5b962 feat: Add sequential read tests, allow reading directory if length of buffer is 0 2022-01-20 21:34:36 +01:00
Felix Pojtinger
16765c5fcc feat: Add first tests for Read 2022-01-19 17:41:56 +01:00
Felix Pojtinger
1652426a47 feat: Add rest of tests for Readdirnames 2022-01-19 16:22:31 +01:00
Felix Pojtinger
32348280a7 feat: Add rest of tests for Readdir 2022-01-19 00:25:44 +01:00
Felix Pojtinger
6cb99d667a feat: Add first tests for Readdir 2022-01-18 23:54:27 +01:00
Felix Pojtinger
6226f453d4 feat: Add tests for File.Stat() 2022-01-18 22:22:40 +01:00
Felix Pojtinger
5f4d08823e feat: Add tests for File.Name() 2022-01-18 21:21:06 +01:00
Felix Pojtinger
5abe7a349c refactor: Move File and FileInfo to pkg 2022-01-18 21:01:55 +01:00
Felix Pojtinger
25cacd34d8 refactor: Inject mtio package to allow for remote implementation 2022-01-16 23:50:47 +01:00
Felix Pojtinger
5bb79b6d9e refactor: Merge drive and reader config to enable implementations of tape management without synchronization 2022-01-16 22:46:18 +01:00
Felix Pojtinger
932a58d9d0 refactor: Remove reader and seeker capabilities from Drive interface to prevent incorrect usage as reader 2022-01-16 22:09:44 +01:00
Felix Pojtinger
186d9351f6 refactor: Bind to all addresses by default in serve_ftp and serve_http 2022-01-16 20:50:41 +01:00
Felix Pojtinger
843527b99e feat: Add OsFs-compliant support for Readlink, Symlink and Lstat 2022-01-16 18:03:43 +01:00
Felix Pojtinger
ec42111545 feat: Add tests for ReadlinkIfPossible 2022-01-16 03:55:08 +01:00
Felix Pojtinger
7b78599150 feat: Add tests for SymlinkIfPossible 2022-01-16 03:32:32 +01:00
Felix Pojtinger
c365fe74ad feat: Add tests for LstatIfPossible 2022-01-16 02:45:32 +01:00
Felix Pojtinger
869ed5a4c2 feat: Add tests for Chtimes 2022-01-16 01:19:06 +01:00
Felix Pojtinger
37320f09c8 feat: Add portable Timespec implementation for FileInfo 2022-01-16 01:18:45 +01:00
Felix Pojtinger
58e5941b36 fix: Enable compilation of pkg/fs for WASM 2022-01-16 01:17:29 +01:00
Felix Pojtinger
7f4bb78601 refactor: Enable all tests previously broken by bugs in the caching layer 2022-01-16 00:08:37 +01:00
Felix Pojtinger
02a882fbf1 feat: Start skipping cache for non-supported tests 2022-01-15 23:57:57 +01:00
Felix Pojtinger
6a6dee298d feat: Add test for Chown 2022-01-15 20:59:06 +01:00
Felix Pojtinger
5131825b28 feat: Use portable syscall.Stat_t equivalent for FileInfo 2022-01-15 20:58:47 +01:00
Felix Pojtinger
f04f0e5fab feat: Add test for Chmod 2022-01-15 18:41:34 +01:00
Felix Pojtinger
4a3c5d981e feat: Add test for Stat 2022-01-14 21:36:19 +01:00
Felix Pojtinger
525c76da7e refactor: Clean incoming filepaths before passing them to STFS 2022-01-13 19:11:40 +01:00
Felix Pojtinger
4c2369ced4 feat: Add tests for renaming directories to files and vice versa 2022-01-13 18:57:05 +01:00
Felix Pojtinger
97a954fe97 feat: Add first tests to rename 2022-01-13 18:39:45 +01:00
Felix Pojtinger
b707a812a4 feat: Add test for RemoveAll, enable deleting non-existing files/directories using RemoveAll 2022-01-12 23:49:26 +01:00
Felix Pojtinger
defce7a068 fix: Prevent creating directories with no parent 2022-01-12 23:41:12 +01:00
Felix Pojtinger
be4dd8d5fc build: Use short tests in CI/CD 2022-01-12 23:31:01 +01:00
Felix Pojtinger
20fa0c0a6d build: Increase test timeout 2022-01-12 23:08:22 +01:00
Felix Pojtinger
1f4bf302b8 fix: Prefix extra Docker flags for test command with -e flag 2022-01-12 22:50:17 +01:00
Felix Pojtinger
1728c4c1ba build: Use Go 1.18 and higher file limits for groups and test support 2022-01-12 22:44:45 +01:00
Felix Pojtinger
ecc571df88 fix: Block creating files with non-existing parent directories using O_CREATE 2022-01-12 22:39:00 +01:00
Felix Pojtinger
0d80752516 fix: Add quirks mode for FTP compatibility, where read permission is required even if O_WRONLY is set 2022-01-12 22:21:10 +01:00
Felix Pojtinger
a022c30147 fix: Block creating files with non-existing parent directories 2022-01-12 22:02:17 +01:00
Felix Pojtinger
385492a4b8 fix: Prevent deleting non-empty directories 2022-01-12 20:41:24 +01:00
Felix Pojtinger
900d49afec feat: Add test for Remove 2022-01-12 20:30:16 +01:00
Felix Pojtinger
eb7074646d feat: Add tests for OpenFile 2022-01-11 23:34:44 +01:00