Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6efb0a6a14
!29 upgrade version to 6.24.10
From: @wangjiang37 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-07-28 02:52:12 +00:00
wangjiang
35439ff9a4 upgrade version to 6.24.10 2023-07-14 03:33:00 +00:00
openeuler-ci-bot
5e34842124
!28 upgrade version to 6.24.07
From: @renxichen 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2023-01-30 13:01:32 +00:00
renxichen
19e223a765 upgrade version to 6.24.07 2023-01-29 14:54:22 +08:00
openeuler-ci-bot
1774fdb40c
!27 modify Source0
From: @wangjiang37 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-11-21 01:58:33 +00:00
wangjiang
d65c520f44 modify Source0 2022-11-21 09:46:14 +08:00
openeuler-ci-bot
ef5cc9a839
!23 【轻量级 PR】:Rebuild for next release
From: @wangjiang37 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-11-02 01:24:03 +00:00
wangjiang
a37883cb77
update for mass rebuild and upgrade verification 2022-11-01 02:24:29 +00:00
openeuler-ci-bot
92d5526b8e !19 update version to 6.23.00
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-11-15 12:16:47 +00:00
shixuantong
1f16086c55 update version to 6.23.00 2021-11-13 15:26:44 +08:00
5 changed files with 27 additions and 222 deletions

View File

@ -8,17 +8,17 @@ Subject: [PATCH] fix nice case fail if noroot
1 file changed, 1 insertion(+)
diff --git a/tests/commands.at b/tests/commands.at
index cf0fcf0..daf87fc 100755
index 48418cc..0a2a916 100644
--- a/tests/commands.at
+++ b/tests/commands.at
@@ -891,6 +891,7 @@ TCSH_UNTESTED([newgrp])
@@ -1039,6 +1039,7 @@ dnl nice
dnl
AT_SETUP([nice])
+AT_SKIP_IF([test 'whoami' != 'root'])
AT_KEYWORDS([commands])
# Nothing really tested
AT_CHECK([tcsh -f -c 'nice set var=1; echo $?var'], ,
dnl Nothing really tested
--
1.8.3.1

View File

@ -1,212 +0,0 @@
From f4cae8a433a3744f6d3a6d895ef06631c0a656ec Mon Sep 17 00:00:00 2001
From: lubing6 <lubing6@huawei.com>
Date: Sat, 21 Mar 2020 20:52:01 +0800
Subject: [PATCH] fix testcase fail if noroot
---
tests/arguments.at | 2 ++
tests/commands.at | 5 +++++
tests/expr.at | 1 +
tests/lexical.at | 4 ++++
tests/variables.at | 10 ++++++++++
5 files changed, 22 insertions(+)
diff --git a/tests/arguments.at b/tests/arguments.at
index 562fd83..8cd8673 100755
--- a/tests/arguments.at
+++ b/tests/arguments.at
@@ -47,6 +47,7 @@ TCSH_UNTESTED([-f])
AT_SETUP([-i])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_CHECK([echo 'echo $1' | tcsh -f -q -i foo], ,
[[> foo
@@ -143,6 +144,7 @@ AT_CLEANUP
AT_SETUP([non-option arguments])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([options.csh],
[[echo $0
diff --git a/tests/commands.at b/tests/commands.at
index cf0fcf0..e0532d3 100755
--- a/tests/commands.at
+++ b/tests/commands.at
@@ -267,6 +267,7 @@ AT_CLEANUP
AT_SETUP([dirs])
+AT_SKIP_IF([test `whoami` != 'root' ])
AT_DATA([dirs.csh],
[[set current=`/bin/pwd`
@@ -379,6 +380,7 @@ TCSH_UNTESTED([fg])
AT_SETUP([filetest])
+AT_SKIP_IF([test `whoami` == 'root' ])
touch file1 file2
chmod 6777 file1
@@ -561,6 +563,7 @@ TCSH_UNTESTED([hashstat])
AT_SETUP([history])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([history.csh],
[[: cmd 1
@@ -776,6 +779,7 @@ TCSH_UNTESTED([jobs])
AT_SETUP([kill])
+AT_SKIP_IF([test `whoami` == 'root' ])
# Nested to ensure consistent output
AT_DATA([kill.csh],
@@ -1201,6 +1205,7 @@ AT_CLEANUP
AT_SETUP([source])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([script.csh],
[[set var=$1
diff --git a/tests/expr.at b/tests/expr.at
index fa373c8..d9e0a1d 100755
--- a/tests/expr.at
+++ b/tests/expr.at
@@ -74,6 +74,7 @@ AT_CLEANUP
AT_SETUP([Primary expressions])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_CHECK([tcsh -f -c 'set parseoctal; exit (010)'], 8)
AT_CHECK([tcsh -f -c 'exit (010)'], 10)
diff --git a/tests/lexical.at b/tests/lexical.at
index 3dc6024..d1ec788 100755
--- a/tests/lexical.at
+++ b/tests/lexical.at
@@ -153,6 +153,7 @@ AT_CLEANUP
AT_SETUP([History basics])
+AT_SKIP_IF([test `whoami` == 'root' ])
# Printing prompt only when at end of input is rather nondeterministic...
AT_DATA([basic.csh],
@@ -203,6 +204,7 @@ AT_CLEANUP
AT_SETUP([Event specification])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([positive.csh],
[[echo 1
@@ -345,6 +347,7 @@ AT_CLEANUP
AT_SETUP([Word selection])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([words.csh],
[[echo 1 2 3 4 5
@@ -394,6 +397,7 @@ AT_CLEANUP
AT_SETUP([History modifiers])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([modifiers.csh],
[[echo foo bar baz quux /usr/src/sys/sys/malloc.c
diff --git a/tests/variables.at b/tests/variables.at
index ffa0da2..ad1f7d9 100755
--- a/tests/variables.at
+++ b/tests/variables.at
@@ -355,6 +355,7 @@ AT_CLEANUP
AT_SETUP([$ ellipsis])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([ellipsis0.csh],
[[echo $?ellipsis
@@ -414,6 +415,7 @@ AT_CLEANUP
AT_SETUP([$ histchars])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([histchars.csh],
[[echo $?histchars
@@ -437,6 +439,7 @@ AT_CLEANUP
AT_SETUP([$ histdup])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([histdup.csh],
[[echo $?histdup
@@ -494,6 +497,7 @@ VAR_UNSET([histfile])
AT_SETUP([$ histlit])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([histlit.csh],
[[echo $?histlit
@@ -560,6 +564,7 @@ AT_CLEANUP
AT_SETUP([$ history])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([history.csh],
[[echo $#history $history
@@ -606,6 +611,7 @@ VAR_UNSET([ignoreeof])
AT_SETUP([$ implicitcd])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([implicitcd.csh],
[[echo $?implicitcd
@@ -798,6 +804,7 @@ AT_CLEANUP
AT_SETUP([$ prompt])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([prompt.csh],
[[echo "$prompt"
@@ -834,6 +841,7 @@ AT_CHECK([echo 'echo "$prompt3"' | tcsh -f], ,
AT_CLEANUP
AT_SETUP([$ promptchars])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([promptchars.csh],
[[echo $?promptchars
@@ -855,6 +863,7 @@ VAR_UNSET([rmstar])
AT_SETUP([$ rprompt])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_DATA([rprompt.csh],
[[echo $?rprompt
@@ -1050,6 +1059,7 @@ AT_CLEANUP
AT_SETUP([$ verbose])
+AT_SKIP_IF([test `whoami` == 'root' ])
AT_CHECK([tcsh -f -v -c 'echo $verbose'], , [
],
--
1.8.3.1

Binary file not shown.

BIN
tcsh-6.24.10.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: tcsh
Version: 6.22.03
Release: 3
Version: 6.24.10
Release: 1
Summary: C shell with file name completion and command line editing
License: BSD
URL: http://www.tcsh.org/
Source0: http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/%{name}/%{name}-%{version}.tar.gz
Source0: http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/%{name}/old/%{name}-%{version}.tar.gz
BuildRequires: gettext-devel ncurses-devel autoconf gcc
Requires(post): coreutils grep
@ -12,8 +12,7 @@ Requires(postun): sed
Provides: /bin/csh /bin/tcsh
Provides: csh = %{version}
Patch0: fix-testcase-fail-if-noroot.patch
Patch1: fix-nice-case-fail-if-noroot.patch
Patch0: fix-nice-case-fail-if-noroot.patch
%description
Tcsh is an enhanced but completely compatible version of the Berkeley
@ -95,6 +94,24 @@ fi
%changelog
* Fri Jul 14 2023 wangjiang <wangjiang37@h-partners.com> - 6.24.10-1
- upgrade version to 6.24.10
* Sun Jan 29 2023 renhongxun<renhongxun@h-partners.com> - 6.24.07-1
- upgrade version to 6.24.07
* Mon Nov 21 2022 wangjiang <wangjiang37@h-partners.com> - 6.23.00-3
- modify Source0
* Tue Nov 01 2022 wangjiang <wangjiang37@h-partners.com> - 6.23.00-2
- Rebuild for next release
* Sat Nov 13 2021 shixuantong<shixuantong@huawei.com> - 6.23.00-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 6.23.00
* Thu Jul 22 2021 shixuantong<shixuantong@huawei.com> - 6.22.03-3
- Type:bugfix
- ID:NA