- Don't run tests that read from /dev/tty.
This commit is contained in:
parent
c50af8e7b9
commit
6925bbc37e
29
bash-tty-tests.patch
Normal file
29
bash-tty-tests.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--- bash-3.0/tests/read.tests.tty-tests 2004-03-14 22:18:02.000000000 +0000
|
||||||
|
+++ bash-3.0/tests/read.tests 2004-09-10 16:41:32.746099025 +0100
|
||||||
|
@@ -82,9 +82,6 @@
|
||||||
|
# test read -d delim behavior
|
||||||
|
${THIS_SH} ./read1.sub
|
||||||
|
|
||||||
|
-# test read -t timeout behavior
|
||||||
|
-${THIS_SH} ./read2.sub
|
||||||
|
-
|
||||||
|
# test read -n nchars behavior
|
||||||
|
${THIS_SH} ./read3.sub
|
||||||
|
|
||||||
|
--- bash-3.0/tests/read.right.tty-tests 2004-03-14 22:18:16.000000000 +0000
|
||||||
|
+++ bash-3.0/tests/read.right 2004-09-10 16:41:32.751098072 +0100
|
||||||
|
@@ -33,14 +33,6 @@
|
||||||
|
a = xyz
|
||||||
|
a = -xyz 123-
|
||||||
|
a = abc
|
||||||
|
-1
|
||||||
|
-4
|
||||||
|
-1
|
||||||
|
-4
|
||||||
|
-./read2.sub: line 13: read: -3: invalid timeout specification
|
||||||
|
-1
|
||||||
|
-4
|
||||||
|
-abcde
|
||||||
|
./read3.sub: line 4: read: -1: invalid number
|
||||||
|
abc
|
||||||
|
ab
|
@ -41,6 +41,7 @@ Patch28: bash-2.05b-xcc.patch
|
|||||||
Patch29: bash-2.05b-pgrp_sync.patch
|
Patch29: bash-2.05b-pgrp_sync.patch
|
||||||
Patch30: bash-2.05b-manso.patch
|
Patch30: bash-2.05b-manso.patch
|
||||||
Patch31: bash-2.05b-debuginfo.patch
|
Patch31: bash-2.05b-debuginfo.patch
|
||||||
|
Patch32: bash-tty-tests.patch
|
||||||
Patch42: bash-sigpipe.patch
|
Patch42: bash-sigpipe.patch
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
@ -97,6 +98,7 @@ popular and powerful, and you'll probably end up using it.
|
|||||||
%patch29 -p1 -b .pgrp_sync
|
%patch29 -p1 -b .pgrp_sync
|
||||||
%patch30 -p1 -b .manso
|
%patch30 -p1 -b .manso
|
||||||
%patch31 -p1 -b .debuginfo
|
%patch31 -p1 -b .debuginfo
|
||||||
|
%patch32 -p1 -b .tty-tests
|
||||||
%patch42 -p1 -b .sigpipe
|
%patch42 -p1 -b .sigpipe
|
||||||
echo %{version} > _distribution
|
echo %{version} > _distribution
|
||||||
echo %{release} > _patchlevel
|
echo %{release} > _patchlevel
|
||||||
@ -239,6 +241,7 @@ fi
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-14
|
* Fri Sep 10 2004 Tim Waugh <twaugh@redhat.com> 3.0-14
|
||||||
|
- Don't run tests that read from /dev/tty.
|
||||||
- Patchlevel 13.
|
- Patchlevel 13.
|
||||||
|
|
||||||
* Wed Sep 8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
|
* Wed Sep 8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
|
||||||
|
Loading…
Reference in New Issue
Block a user