<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests/syscalls.scm, branch v1.4.0rc1</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>syscalls: Add 'openpty' and 'login-tty'.</title>
<updated>2021-10-26T10:46:27+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2021-10-19T08:56:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=f87371bf3e952a211782311dad2971c8820a5150'/>
<id>f87371bf3e952a211782311dad2971c8820a5150</id>
<content type='text'>
* guix/build/syscalls.scm (openpty, login-pty): New procedures.
* tests/syscalls.scm ("openpty", "openpty + login-tty"): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (openpty, login-pty): New procedures.
* tests/syscalls.scm ("openpty", "openpty + login-tty"): New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Add 'mounts' and the &lt;mount&gt; record type.</title>
<updated>2021-02-25T10:29:35+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2021-02-22T14:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=7e9d9f28e997e7faad28cdd1c416be174d6986e7'/>
<id>7e9d9f28e997e7faad28cdd1c416be174d6986e7</id>
<content type='text'>
* guix/build/syscalls.scm (&lt;mount&gt;): New record type.
(option-string-&gt;mount-flags, mount-flags)
(octal-decode, mounts): New procedures.
(mount-points): Rewrite in terms of 'mount'.
* tests/syscalls.scm ("mounts"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (&lt;mount&gt;): New record type.
(option-string-&gt;mount-flags, mount-flags)
(octal-decode, mounts): New procedures.
(mount-points): Rewrite in terms of 'mount'.
* tests/syscalls.scm ("mounts"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Do not fail when network interface aliases are present.</title>
<updated>2020-06-28T21:32:52+00:00</updated>
<author>
<name>Marius Bakke</name>
<email>marius@gnu.org</email>
</author>
<published>2020-06-28T15:52:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=5e113cf4424b2746cbf3633cd2106c62b89e5b49'/>
<id>5e113cf4424b2746cbf3633cd2106c62b89e5b49</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/42111&gt;.

* tests/syscalls.scm ("network-interface-names"): Filter interface names with
a colon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/42111&gt;.

* tests/syscalls.scm ("network-interface-names"): Filter interface names with
a colon.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: syscall: Support file-systems without extended attributes.</title>
<updated>2020-06-05T17:20:23+00:00</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2020-06-05T10:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ea924134f819eef072ba7df9080d39de97fd73e6'/>
<id>ea924134f819eef072ba7df9080d39de97fd73e6</id>
<content type='text'>
* tests/syscalls.scm (setxattr): Catch ENOTSUP that can be raised if the
file-system does not support extended user attributes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/syscalls.scm (setxattr): Catch ENOTSUP that can be raised if the
file-system does not support extended user attributes.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Allow passing on systems without support for swap devices.</title>
<updated>2020-06-02T08:24:03+00:00</updated>
<author>
<name>Simon South</name>
<email>simon@simonsouth.net</email>
</author>
<published>2020-05-29T17:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=cb21c14b0ae1f4c9fcad4927e3b2eb0c06d7b018'/>
<id>cb21c14b0ae1f4c9fcad4927e3b2eb0c06d7b018</id>
<content type='text'>
* tests/syscalls.scm ("swapon", "swapoff"): Accept ENOSYS as a valid result.

Signed-off-by: Mathieu Othacehe &lt;othacehe@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/syscalls.scm ("swapon", "swapoff"): Accept ENOSYS as a valid result.

Signed-off-by: Mathieu Othacehe &lt;othacehe@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Add 'getxattr'.</title>
<updated>2020-05-13T22:48:12+00:00</updated>
<author>
<name>Jan (janneke) Nieuwenhuizen</name>
<email>janneke@gnu.org</email>
</author>
<published>2020-05-13T22:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=df05842332be80ed7f53022402b95cf711163b41'/>
<id>df05842332be80ed7f53022402b95cf711163b41</id>
<content type='text'>
* guix/build/syscalls.scm (getxattr): New procedure.
* tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (getxattr): New procedure.
* tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Re-enable 'pivot-root' test.</title>
<updated>2020-02-11T11:33:35+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-02-11T11:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=1deca767be1b84b96633e317f3fcdd5165f95df3'/>
<id>1deca767be1b84b96633e317f3fcdd5165f95df3</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/25476&gt;.
Reported by Paul Garlick &lt;pgarlick@tourbillion-technology.com&gt;.

* tests/syscalls.scm ("pivot-root"): Skip only when
PERFORM-CONTAINER-TESTS? is true.  Rewrite to use a socket pair instead
of a pipe.  Synchronize parent and child so that the parent can
initialize the child's UID and GID mappings before continuing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://bugs.gnu.org/25476&gt;.
Reported by Paul Garlick &lt;pgarlick@tourbillion-technology.com&gt;.

* tests/syscalls.scm ("pivot-root"): Skip only when
PERFORM-CONTAINER-TESTS? is true.  Rewrite to use a socket pair instead
of a pipe.  Synchronize parent and child so that the parent can
initialize the child's UID and GID mappings before continuing.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Add 'add-to-entropy-count'.</title>
<updated>2019-10-05T20:05:02+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-10-05T19:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=5e5f7167943b408ae55736a44908a82056c87780'/>
<id>5e5f7167943b408ae55736a44908a82056c87780</id>
<content type='text'>
* guix/build/syscalls.scm (RNDADDTOENTCNT): New variable.
(add-to-entropy-count): New procedure.
* tests/syscalls.scm ("add-to-entropy-count"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (RNDADDTOENTCNT): New variable.
(add-to-entropy-count): New procedure.
* tests/syscalls.scm ("add-to-entropy-count"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Add 'terminal-rows'.</title>
<updated>2019-06-27T09:14:40+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-25T21:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=4593f5a654b4e59c5025cc4f99914e24e82515a4'/>
<id>4593f5a654b4e59c5025cc4f99914e24e82515a4</id>
<content type='text'>
* guix/build/syscalls.scm (terminal-dimension): New procedure.
(terminal-columns): Rewrite in terms of 'terminal-dimension'.
(terminal-rows): New procedure.
* tests/syscalls.scm ("terminal-rows"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (terminal-dimension): New procedure.
(terminal-columns): Rewrite in terms of 'terminal-dimension'.
(terminal-rows): New procedure.
* tests/syscalls.scm ("terminal-rows"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Define AT_SYMLINK_NOFOLLOW et al.</title>
<updated>2018-07-03T15:50:04+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-07-03T08:52:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=25c7ff6a3ecbaa1e93b38d35c8cbff40b7f4edb8'/>
<id>25c7ff6a3ecbaa1e93b38d35c8cbff40b7f4edb8</id>
<content type='text'>
* guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR)
(AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): New variables.
* tests/syscalls.scm ("utime with AT_SYMLINK_NOFOLLOW"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR)
(AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): New variables.
* tests/syscalls.scm ("utime with AT_SYMLINK_NOFOLLOW"): New test.
</pre>
</div>
</content>
</entry>
</feed>
