!5 openeuler-tcsh

Merge pull request !5 from chenditang/master
This commit is contained in:
openeuler-ci-bot 2020-06-29 20:53:04 +08:00 committed by Gitee
commit c8fd50d067
2 changed files with 35 additions and 4 deletions

View File

@ -0,0 +1,24 @@
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 cf0fcf0..daf87fc 100755
--- a/tests/commands.at
+++ b/tests/commands.at
@@ -891,6 +891,7 @@ TCSH_UNTESTED([newgrp])
AT_SETUP([nice])
+AT_SKIP_IF([test 'whoami' != 'root'])
# Nothing really tested
AT_CHECK([tcsh -f -c 'nice set var=1; echo $?var'], ,
--
1.8.3.1

View File

@ -1,6 +1,6 @@
Name: tcsh
Version: 6.21.00
Release: 5
Release: 6
Summary: C shell with file name completion and command line editing
License: BSD
URL: http://www.tcsh.org/
@ -12,9 +12,10 @@ Requires(postun): sed
Provides: /bin/csh /bin/tcsh
Provides: csh = %{version}
Patch0: 0061-PR-81-oldping-Fix-range-matching-issue-where-we-were.patch
Patch1: 0063-PR-88-sharifib-Preserve-empty-arguments-in-arrays-as.patch
Patch2: fix-testcase-fail-if-noroot.patch
Patch0000: 0061-PR-81-oldping-Fix-range-matching-issue-where-we-were.patch
Patch0001: 0063-PR-88-sharifib-Preserve-empty-arguments-in-arrays-as.patch
Patch0002: fix-testcase-fail-if-noroot.patch
Patch0003: fix-nice-case-fail-if-noroot.patch
%description
Tcsh is an enhanced but completely compatible version of the Berkeley
@ -96,6 +97,12 @@ fi
%changelog
* Mon Jun 29 2020 chenditang <chenditang1@huawei.com> - 6.21.00-6
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: fix nice case fail if noroot
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 6.21.00-5
- Type: enhancement
- ID: NA