1 Star 0 Fork 10

桐小哥/tcsh

forked from src-openEuler/tcsh 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-nice-case-fail-if-noroot.patch 599 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenditang 提交于 2020-06-29 20:22 +08:00 . fix nice case fail if noroot
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tong_1001/tcsh.git
git@gitee.com:tong_1001/tcsh.git
tong_1001
tcsh
tcsh
master

搜索帮助