From 193dca1b55b68aa883c3ed8b28bf19e9527fa065 Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Sat, 28 Jan 2023 22:29:39 +0100 Subject: [PATCH] gnu: tcsh: comment out test of nice with nice guix builder * gnu/packages/patches/tcsh-fix-autotest.patch: comment out test of nice. To reproduce: guix shell tcsh -- nice -n 4 tcsh -c "nice echo 1" # works guix shell tcsh -- nice -n 5 tcsh -c "nice echo 1" # breaks --- gnu/packages/patches/tcsh-fix-autotest.patch | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/patches/tcsh-fix-autotest.patch b/gnu/packages/patches/tcsh-fix-autotest.patch index 9f5790641b..252560dbb2 100644 --- a/gnu/packages/patches/tcsh-fix-autotest.patch +++ b/gnu/packages/patches/tcsh-fix-autotest.patch @@ -1,3 +1,32 @@ +--- tests/commands.at ++++ tests/commands.at +@@ -890,15 +890,16 @@ + TCSH_UNTESTED([newgrp]) + + +-AT_SETUP([nice]) +- +-# Nothing really tested +-AT_CHECK([tcsh -f -c 'nice set var=1; echo $?var'], , +-[0 +-]) +- +- +-AT_CLEANUP ++# XXX This test fails if the Guix worker has a nice value >= 5 ++# AT_SETUP([nice]) ++# ++# # Nothing really tested ++# AT_CHECK([tcsh -f -c 'nice -n +1 set var=1; echo $?var'], , ++# [0 ++# ]) ++# ++# ++# AT_CLEANUP + + + AT_SETUP([nohup]) + --- tests/commands.at +++ tests/commands.at @@ -921,26 +921,27 @@ AT_CLEANUP -- 2.39.1