diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch b/import-layers/meta-openembedded/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch new file mode 100644 index 000000000..69f0564e8 --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-extended/tcsh/files/disable-test-notty.patch @@ -0,0 +1,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 + ]) |