;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 muradm ;;; ;;; 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 (gnu tests security) #:use-module (guix gexp) #:use-module (gnu packages admin) #:use-module (gnu services) #:use-module (gnu services security) #:use-module (gnu services ssh) #:use-module (gnu system) #:use-module (gnu system vm) #:use-m
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-18 11:33:18 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-18 20:54:09 -0500
commit690a347bdbb3912040a996c64851396f5922e4e7 (patch)
treefbc5bf48252d34c668722844a168a98e7b33c2d0 /gnu/tests/singularity.scm
parent75d5ccce4c9be882469c08ca25fa9e956a3d26b4 (diff)
downloadguix-690a347bdbb3912040a996c64851396f5922e4e7.tar.gz
guix-690a347bdbb3912040a996c64851396f5922e4e7.zip
gnu: kauth: Update to 5.114.0.
* gnu/packages/kde-frameworks.scm (kauth): Update to 5.114.0. Change-Id: Ieaa7dbd7340c850928ca6d128ca66f8c0973fba8
Diffstat (limited to 'gnu/tests/singularity.scm')
0 files changed, 0 insertions, 0 deletions
(use-modules (ice-9 rdelim) (ice-9 popen) (rnrs io ports)) (let ((call-command (lambda (cmd) (let* ((err-cons (pipe)) (port (with-error-to-port (cdr err-cons) (lambda () (open-input-pipe cmd)))) (_ (setvbuf (car err-cons) 'block (* 1024 1024 16))) (result (read-delimited "" port))) (close-port (cdr err-cons)) (values result (read-delimited "" (car err-cons))))))) (string-split (call-command (string-join (list #$%fail2ban-server-cmd "status" "sshd") " ")) #\newline))) marionette)) (test-equal "fail2ban sshd jail running exit code" 0 (marionette-eval '(status:exit-val (system* #$%fail2ban-server-cmd "status" "sshd")) marionette)))) (define %test-fail2ban-extension (system-test (name "fail2ban-extension") (description "Test extension fail2ban running capability.") (value (run-fail2ban-extension-test))))