File: scanner.1.exp

package info (click to toggle)
libdap 3.20.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,568 kB
  • sloc: cpp: 50,809; sh: 41,536; xml: 23,511; ansic: 20,030; yacc: 2,508; exp: 1,544; makefile: 990; lex: 309; perl: 52; fortran: 8
file content (47 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (9)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

# expect/tcl code to test the das scanner
# jhrg
#
# $Log: scanner.1.exp,v $
# Revision 1.1  1996/07/16 16:54:31  jimg
# Added.
#
# Revision 1.3  1996/05/14 15:40:41  jimg
# These changes have already been checked in once before. However, I
# corrupted the source repository and restored it from a 5/9/96 backup
# tape. The previous version's log entry should cover the changes.
#
# Revision 1.2  1995/10/23  23:47:02  jimg
# Modified...
#
# Revision 1.1  1995/02/16  15:34:43  jimg
# Added these tests. See comments in files in parent directory.
#
#

global comp_output		# contains output from das-test_start
global verbose			# this and srcdir are set by runtest.exp
global srcdir

# The variable `test_name' is the name of the das input file for this test.

set test_name scanner.1

set prompt "das-test:"
set timeout 2

das-test_start s

expect {
    -re "^$prompt $" { 
	pass "$test_name" 
    }
    timeout { 
	send_user "Timeout\n"
	fail "$test_name" 
    }
}

das-test_exit