File: Tests

package info (click to toggle)
xterm 344-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,024 kB
  • sloc: ansic: 76,762; sh: 4,285; perl: 2,869; makefile: 813; xml: 40; sed: 11
file content (42 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download | duplicates (21)
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
Tests for xterm:

If system supports window size (i.e., some combination of SIGWINCH,
TIOCSSIZE, TIOCSWINSZ), start a full-screen program (e.g., Emacs,
Jove, vi) and resize the xterm window.  The program must immediately
update its screen image for the new size.

If compiled with -DUTMP, starting a new xterm should create a new utmp
entry.  ("who" will show this info.)  Exiting xterm should remove the
entry.  Killing the xterm window (or other unnatural exit) should also
remove the entry.  When should entries be made in the wtmp file?

Process group stuff should be correct.

Should work without access to /dev/tty, say started from an xdm
started from a boot-time script.

If "xterm -help" offers the -C option, it should work.

echo "test" > /dev/tty

vi with lines that wrap.

Exec'ing things other than shells.

Another thing that has caused problems in the past is process groups,
especially w.r.t. signal propagation to the child.

Popup menu signals: running only a shell, click on "Send INT Signal."
Do you get a new prompt from the shell?  (Same as typing ^C at it.)

Should scroll *fast* with jumpScroll enabled.

While a mouse button is down tracing out a selection, output to the
screen should be suspended.

Selections more than one screen long.

start xterm running only Tek widget: "xterm -t"


Please add to this list if you find xterm failing in some way.