File: local_test

package info (click to toggle)
zssh 1.5c.debian.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 492 kB
  • sloc: ansic: 2,048; sh: 184; makefile: 146
file content (21 lines) | stat: -rwxr-xr-x 642 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

./local_tty_test tty > output.tty
if  diff local_tty_test.reference_output  output.tty >& /dev/null ; then 
	echo "local tty -> pty test passed !" 
else 
	echo "local tty -> pty test FAILED !" 
	echo "diff -au local_tty_test.reference_output  output.tty" 
	diff -au local_tty_test.reference_output  output.tty 
fi


./local_tty_test pty > output.pty
if  diff local_tty_test.reference_output  output.pty >& /dev/null ; then 
	echo "local pty -> tty test passed !" 
else 
	echo "local pty -> tty test FAILED !" 
	echo "diff -au local_tty_test.reference_output  output.pty" 
	diff -au local_tty_test.reference_output  output.pty 
fi