aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch
blob: 69f0564e880c6bb4c84c12f213ea6de284bd9f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Lucas Nussbaum <lucas@debian.org>
Description: Those tests fail when running the testsuite without a tty. Disabling them.

--- a/tests/commands.at
+++ b/tests/commands.at
@@ -1203,11 +1203,6 @@ AT_SETUP([source])
 AT_DATA([script.csh],
 [[set var=$1
 ]])
-AT_CHECK([[tcsh -f -c 'source -h script.csh foo; history' \
-	   | sed 's/	[^	]*	/ TIME /']], ,
-[     1 TIME source -h script.csh foo ; history
-     2 TIME set var=$1
-])
 
 AT_CHECK([tcsh -f -c 'source -h script.csh foo; echo $var'], 1, [],
 [var: Undefined variable.
--- a/tests/variables.at
+++ b/tests/variables.at
@@ -319,10 +319,6 @@ AT_CLEANUP
 
 AT_SETUP([$ edit])
 
-AT_CHECK([TERM=something tcsh -f -c 'echo $?edit'], ,
-[1
-])
-
 AT_CHECK([TERM=dumb tcsh -f -c 'echo $?edit'], ,
 [0
 ])