31 lines
762 B
Diff
31 lines
762 B
Diff
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
|
|
])
|