bug#72547: [PATCH 3/9] tests: Skip hole-related port tests on Darwin.

2024-10-21 Thread Tomas Volf
Ludovic Courtès writes: > Tomas Volf <~@wolfsden.cz> skribis: > >> +(define (skip-on-darwin) >> + (when (string-ci=? "darwin" (vector-ref (uname) 0)) >> +(throw 'untested))) > > I changed (vector-ref (uname) 0) to (utsname:sysname (uname)) in this > and other patches. I am of course fine wi

bug#72547: [PATCH 3/9] tests: Skip hole-related port tests on Darwin.

2024-10-20 Thread Ludovic Courtès
Tomas Volf <~@wolfsden.cz> skribis: > +(define (skip-on-darwin) > + (when (string-ci=? "darwin" (vector-ref (uname) 0)) > +(throw 'untested))) I changed (vector-ref (uname) 0) to (utsname:sysname (uname)) in this and other patches. (We might want to factorize this procedure. :-)) Ludo’.

bug#72547: [PATCH 3/9] tests: Skip hole-related port tests on Darwin.

2024-08-09 Thread Tomas Volf
Hole are itself a file-system specific feature and they are not mandated. While APFS does support sparse files, they do not behave like on Linux. I did not discover exact rules, but the file needs to be large (100s of kB at least) and the holes are not aligned as the test code expects. So just d