tcsh/fix-nice-case-fail-if-noroot.patch
2023-07-14 03:33:00 +00:00

25 lines
561 B
Diff

From 1c74ba6a5332e5f9dfb6eb893fbd1d59ee5e15ec Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Mon, 29 Jun 2020 20:12:56 +0800
Subject: [PATCH] fix nice case fail if noroot
---
tests/commands.at | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/commands.at b/tests/commands.at
index 48418cc..0a2a916 100644
--- a/tests/commands.at
+++ b/tests/commands.at
@@ -1039,6 +1039,7 @@ dnl nice
dnl
AT_SETUP([nice])
+AT_SKIP_IF([test 'whoami' != 'root'])
AT_KEYWORDS([commands])
dnl Nothing really tested
--
1.8.3.1