;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-sets) #:use-module (guix sets) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-64)) (test-begin "sets") (test-assert "set-contains?" (let* ((lst (iota 123)) (set (list->set lst))) (and (every (cut set-contains? set <>) lst) (not (set-contains? set -1))))) (test-assert "set->list" (let* ((lst (iota 123)) (set (list->set lst))) (lset= = lst (set->list set)))) (test-assert "set-union" (let* ((a (list 'a)) (b (list 'b)) (s1 (setq a)) (s2 (setq b)) (s3 (set-union s1 s2))) (and (set-contains? s3 a) (set-contains? s3 b)))) (test-end) /admin.scm?id=45ee3fde877ef39dca8382efbbb320c4062637c2'>diff
AgeCommit message (Expand)Author
2018-12-23services: Fix typo in (gnu services admin)....Tobias Geerinckx-Rice
2018-10-04services: rottlog: Use command strings in the mcron jobs....Ludovic Courtès
2018-09-10services: tailon: Move to (gnu services web)....Ludovic Courtès
2018-03-22gnu: shepherd: Update to 0.4.0....Ludovic Courtès
2018-03-22services: rottlog: Add /var/log/debug to '%default-rotations'....Ludovic Courtès
2017-11-05services: Add 'description' fields....Ludovic Courtès
2017-08-09services: admin: Simplify the handling of the Tailon debug? option....Christopher Baines
2017-08-09services: Update the Tailon service for Tailon 1.3.0....Christopher Baines
2017-08-09services: Add missing wrap-lines option to tailon....Christopher Baines
2017-07-29gnu: services: admin: Add tailon....Christopher Baines
2017-06-12services: rottlog: Make extensible....Ludovic Courtès
2017-06-12services: rottlog: Define <log-rotation> objects....Ludovic Courtès
2017-04-16services: Add a default value to various service types....Ludovic Courtès
2016-12-19services: guix: Add 'log-file' configuration option....Ludovic Courtès
2016-10-03services: rottlog: Add Rottlog to the global profile....Ludovic Courtès
2016-10-03services: rottlog: Improve default weekly rotations....Ludovic Courtès
2016-10-03services: Add rottlog....Jan Nieuwenhuizen