Try to fix A01grammar test

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=60
This commit is contained in:
Ismail Dönmez 2011-04-21 17:39:13 +00:00 committed by Git OBS Bridge
parent 21db748735
commit 9c47575029
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- zsh-4.3.11-dev-2/Test/A01grammar.ztst 2011-02-21 12:30:57.000000000 +0100
+++ zsh-4.3.11-dev-2/Test/A01grammar.ztst 2011-04-21 19:37:26.358699521 +0200
@@ -266,7 +266,7 @@
## Select now reads from stdin if the shell is not interactive.
## Its own output goes to stderr.
- (COLUMNS=80
+ (COLUMNS=80 LINES=3
PS3="input> "
select name in one two three; do
print $name

View File

@ -38,7 +38,8 @@ Patch1: %{name}-4.3.11-doc_intro_paths.patch
Patch2: %{name}-4.3.11-run-help_pager.patch
Patch3: zsh-cleanup.patch
# PATCH-FIX-OPENSUSE zsh-4.3.6-hack-a01grammar-test-select-off.patch idoenmez@suse.de -- Disable racy test
Patch4: zsh-4.3.6-hack-a01grammar-test-select-off.patch
#Patch4: zsh-4.3.6-hack-a01grammar-test-select-off.patch
Patch4: zsh-4.3.11-fix-a01grammar.patch
BuildRequires: fdupes
BuildRequires: libcap-devel
BuildRequires: ncurses-devel
@ -116,7 +117,7 @@ ln -s -f ../../bin/zsh %{buildroot}%{_bindir}/zsh
%fdupes %{buildroot}
%check
#make check
make check
%clean
rm -rf %{buildroot}