aboutsummaryrefslogtreecommitdiff
path: root/src/test_syscall.c
AgeCommit message (Collapse)AuthorLines
2026-07-27The MREMAP_FIXED macro (added by [4d60798b20a560be]) is not availabledrh-0/+2
on all platforms. FossilOrigin-Name: 8afa7a1d40eef6fd5e9d6a2c250822de607cb211b301547a3317bdb9e942c937
2026-07-24In test_syscall.c, assume SQLite always calls the 4 (not 5) argument form of ↵dan-5/+6
mremap(). This fixes a problem with Fil-C and mmap2.test. FossilOrigin-Name: 4d60798b20a560beb945afe7e2998714aa7e5a83a9db078d4431040f0b6e7350
2025-03-06Cygwin-centric fixes from Jan Nijtmans.stephan-2/+2
FossilOrigin-Name: 205979813c7300debb5f1ba270583ef2f08e069d6d01865b5910702889a5c1ed
2024-07-30First attempt at getting the build to work with Tcl 9.0.drh-9/+5
FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
2023-04-21Change the return type of the ts_read/write() family of functions from int ↵stephan-13/+13
to ssize_t, per report in [forum post 947169d5e7](forum:947169d5e7). FossilOrigin-Name: 7809e7ce6a70657b8ea239eb4778698f7986a658e9177a57b2fb7814c069c936
2016-07-28Make sure the SQLITE_TCLAPI macro is always defined.mistachkin-10/+10
FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
2016-07-28Allow the 'testfixture.exe' target to be compiled with the __stdcall calling ↵mistachkin-1/+5
convention. FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
2016-04-27Modify the permutations.test script so as to set any permutation specific ↵dan-3/+9
configuration values before running each individual test script. FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
2016-04-18The last parameter to pread64() and pwrite64() should be off64_t, not off_t.drh-6/+9
FossilOrigin-Name: 3a7d72986fabe9434ff5bd02c93169314f072b23
2014-03-20Add a test to ensure os_unix.c works with 64KiB OS pages.dan-1/+48
FossilOrigin-Name: e3d2be3ba47cdaafd26347620ae3bc2813203f16
2013-05-17In test file test_syscall.c, include sqliteInt.h before any tcl or system ↵dan-1/+1
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
2013-04-29More refinements to Windows OSTRACE usage. Replace all usage of ↵mistachkin-3/+3
sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
2013-04-02Add test cases for errors in mmap() or mremap() is os_unix.c.dan-1/+14
FossilOrigin-Name: 3098a3c1e7305033904a496ef534cb312a876fab
2013-03-25Add a test that simulates an error in mmap().dan-1/+19
FossilOrigin-Name: 6ec7367d8e98425f00eeb8215ca8964313c1d0b7
2011-08-19When retrying a write() after an EINTR error on unix, be sure to alsodrh-1/+1
rerun the previous lseek(). Ticket [e59bdf6116036a] FossilOrigin-Name: 21452f3ae6b5882b03c7cc41e661c7b8144cc3df
2011-04-04Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX ↵shaneh-1/+1
from testfixture source; FossilOrigin-Name: 78b6eee200cab363be520d771375e44898f80e01
2011-04-04Have test_syscall.c include "sqliteInt.h". Otherwise the SQLITE_OS_UNIX ↵dan-0/+1
symbol may not be defined correctly. FossilOrigin-Name: fda8fadd837e399d3fab7a9e6894617a5788d679
2011-04-02Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is ↵dan-7/+26
invoked with NULL passed as the second argument, even if all the default system calls are already installed. FossilOrigin-Name: 3b91eaaa0b3c25022332ba3d1a5651848fc5d84c
2011-04-01When simulating an error in the close() system call, close the file ↵dan-0/+6
descriptor anyway. Otherwise long running tests leak too many file-descriptors and crash. FossilOrigin-Name: 81ddbf43366c18ebdd46558d6a0fbee2ce6a4c4e
2011-03-30Further tests for os_unix.c.dan-12/+18
FossilOrigin-Name: a84f7711949ea3885b0e36e48118d2c76a8a5b82
2011-03-29Add tests to syscall.test and sysfault.test.dan-1/+3
FossilOrigin-Name: 3d2de011814002e2e25b7645f94ff8fc7aab9cdd
2011-03-29Fix a problem whereby following an IO error in CommitPhaseTwo() of a ↵dan-3/+4
multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. FossilOrigin-Name: dbe569a099c2855480e35c0cc4d9332821ad80da
2011-03-29Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some ↵dan-1/+117
typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. FossilOrigin-Name: bc6cce81565b17f886478bd51500bba2ed11ec1d
2011-03-28Add test infrastructure (and some tests) to inject faults into os_unix.c ↵dan-0/+523
using the new xSetSystemCall interface. FossilOrigin-Name: 0e1d20dfaeea5ab285d16aa4b8f02b61b1d2bc10