emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41606: closed ([PATCH] tests: Allow passing on systems without suppo


From: GNU bug Tracking System
Subject: bug#41606: closed ([PATCH] tests: Allow passing on systems without support for swap devices.)
Date: Tue, 02 Jun 2020 08:29:01 +0000

Your message dated Tue, 02 Jun 2020 10:28:16 +0200
with message-id <878sh5yiqn.fsf@gnu.org>
and subject line Re: [bug#41606] [PATCH] tests: Allow passing on systems 
without support for swap devices.
has caused the debbugs.gnu.org bug report #41606,
regarding [PATCH] tests: Allow passing on systems without support for swap 
devices.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41606: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41606
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] tests: Allow passing on systems without support for swap devices. Date: Fri, 29 May 2020 14:24:46 -0400
The attached patch allows Guix's test suite to pass (and thus, the
"guix" package to be built) on systems that lack support for swap
devices; that is, systems that not only do not have a swap device
enabled but do not have even support for memory paging built into the
kernel (e.g. Linux built without CONFIG_SWAP). This might be the case
for a small home server, for example, on which the workload is
predictable but memory is otherwise at a premium.

On these systems the "swapon" and "swapoff" syscalls return ENOSYS
("Function not implemented"). The patch modifies the relevant tests in
tests/syscalls.scm to accept this as a valid return value.

--
Simon South
simon@simonsouth.net

Attachment: 0001-tests-Allow-passing-on-systems-without-support-for-s.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: [bug#41606] [PATCH] tests: Allow passing on systems without support for swap devices. Date: Tue, 02 Jun 2020 10:28:16 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello Simon,

> On these systems the "swapon" and "swapoff" syscalls return ENOSYS
> ("Function not implemented"). The patch modifies the relevant tests in
> tests/syscalls.scm to accept this as a valid return value.

This looks good to me. I added a copyright line for you and pushed.

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]