diff options
Diffstat (limited to 'meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch')
-rw-r--r-- | meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch b/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch new file mode 100644 index 000000000..69f0564e8 --- /dev/null +++ b/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From: Lucas Nussbaum <lucas@debian.org> | ||
2 | Description: Those tests fail when running the testsuite without a tty. Disabling them. | ||
3 | |||
4 | --- a/tests/commands.at | ||
5 | +++ b/tests/commands.at | ||
6 | @@ -1203,11 +1203,6 @@ AT_SETUP([source]) | ||
7 | AT_DATA([script.csh], | ||
8 | [[set var=$1 | ||
9 | ]]) | ||
10 | -AT_CHECK([[tcsh -f -c 'source -h script.csh foo; history' \ | ||
11 | - | sed 's/ [^ ]* / TIME /']], , | ||
12 | -[ 1 TIME source -h script.csh foo ; history | ||
13 | - 2 TIME set var=$1 | ||
14 | -]) | ||
15 | |||
16 | AT_CHECK([tcsh -f -c 'source -h script.csh foo; echo $var'], 1, [], | ||
17 | [var: Undefined variable. | ||
18 | --- a/tests/variables.at | ||
19 | +++ b/tests/variables.at | ||
20 | @@ -319,10 +319,6 @@ AT_CLEANUP | ||
21 | |||
22 | AT_SETUP([$ edit]) | ||
23 | |||
24 | -AT_CHECK([TERM=something tcsh -f -c 'echo $?edit'], , | ||
25 | -[1 | ||
26 | -]) | ||
27 | - | ||
28 | AT_CHECK([TERM=dumb tcsh -f -c 'echo $?edit'], , | ||
29 | [0 | ||
30 | ]) | ||