aboutsummaryrefslogtreecommitdiff
path: root/src/test_syscall.c
Commit message (Collapse)AuthorAge
* Cygwin-centric fixes from Jan Nijtmans.stephan2025-03-06
| | | FossilOrigin-Name: 205979813c7300debb5f1ba270583ef2f08e069d6d01865b5910702889a5c1ed
* First attempt at getting the build to work with Tcl 9.0.drh2024-07-30
| | | FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
* Change the return type of the ts_read/write() family of functions from int ↵stephan2023-04-21
| | | | | to ssize_t, per report in [forum post 947169d5e7](forum:947169d5e7). FossilOrigin-Name: 7809e7ce6a70657b8ea239eb4778698f7986a658e9177a57b2fb7814c069c936
* Make sure the SQLITE_TCLAPI macro is always defined.mistachkin2016-07-28
| | | FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
* Allow the 'testfixture.exe' target to be compiled with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
* Modify the permutations.test script so as to set any permutation specific ↵dan2016-04-27
| | | | | configuration values before running each individual test script. FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
* The last parameter to pread64() and pwrite64() should be off64_t, not off_t.drh2016-04-18
| | | FossilOrigin-Name: 3a7d72986fabe9434ff5bd02c93169314f072b23
* Add a test to ensure os_unix.c works with 64KiB OS pages.dan2014-03-20
| | | FossilOrigin-Name: e3d2be3ba47cdaafd26347620ae3bc2813203f16
* In test file test_syscall.c, include sqliteInt.h before any tcl or system ↵dan2013-05-17
| | | | | include files. This ensures that the magical defines in sqliteInt.h really do enable large file support (and set things up so that sizeof(off_t)==8). FossilOrigin-Name: 0f355bb17f256c6322e63a95835a67949aa48fb3
* More refinements to Windows OSTRACE usage. Replace all usage of ↵mistachkin2013-04-29
| | | | | sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
* Add test cases for errors in mmap() or mremap() is os_unix.c.dan2013-04-02
| | | FossilOrigin-Name: 3098a3c1e7305033904a496ef534cb312a876fab
* Add a test that simulates an error in mmap().dan2013-03-25
| | | FossilOrigin-Name: 6ec7367d8e98425f00eeb8215ca8964313c1d0b7
* When retrying a write() after an EINTR error on unix, be sure to alsodrh2011-08-19
| | | | | rerun the previous lseek(). Ticket [e59bdf6116036a] FossilOrigin-Name: 21452f3ae6b5882b03c7cc41e661c7b8144cc3df
* Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX ↵shaneh2011-04-04
| | | | | from testfixture source; FossilOrigin-Name: 78b6eee200cab363be520d771375e44898f80e01
* Have test_syscall.c include "sqliteInt.h". Otherwise the SQLITE_OS_UNIX ↵dan2011-04-04
| | | | | symbol may not be defined correctly. FossilOrigin-Name: fda8fadd837e399d3fab7a9e6894617a5788d679
* Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is ↵dan2011-04-02
| | | | | invoked with NULL passed as the second argument, even if all the default system calls are already installed. FossilOrigin-Name: 3b91eaaa0b3c25022332ba3d1a5651848fc5d84c
* When simulating an error in the close() system call, close the file ↵dan2011-04-01
| | | | | descriptor anyway. Otherwise long running tests leak too many file-descriptors and crash. FossilOrigin-Name: 81ddbf43366c18ebdd46558d6a0fbee2ce6a4c4e
* Further tests for os_unix.c.dan2011-03-30
| | | FossilOrigin-Name: a84f7711949ea3885b0e36e48118d2c76a8a5b82
* Add tests to syscall.test and sysfault.test.dan2011-03-29
| | | FossilOrigin-Name: 3d2de011814002e2e25b7645f94ff8fc7aab9cdd
* Fix a problem whereby following an IO error in CommitPhaseTwo() of a ↵dan2011-03-29
| | | | | multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. FossilOrigin-Name: dbe569a099c2855480e35c0cc4d9332821ad80da
* Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some ↵dan2011-03-29
| | | | | typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. FossilOrigin-Name: bc6cce81565b17f886478bd51500bba2ed11ec1d
* Add test infrastructure (and some tests) to inject faults into os_unix.c ↵dan2011-03-28
using the new xSetSystemCall interface. FossilOrigin-Name: 0e1d20dfaeea5ab285d16aa4b8f02b61b1d2bc10