File: disable-test-notty.patch

package info (click to toggle)
tcsh 6.24.13-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,928 kB
  • sloc: ansic: 52,661; sh: 4,107; csh: 1,129; lisp: 669; makefile: 460; perl: 56; python: 23
file content (17 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
@@ -1453,11 +1453,6 @@
 AT_DATA([script.csh],
 [[set var=$1
 ]])
-AT_CHECK([[tcsh -i -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.