Add a trivial test that the mosh script works without needing tmux

None of the previous tests even ran the mosh script unless tmux ≥ 1.8 is
installed.  Thus ‘make check’ was “passing” on, e.g., RHEL 6 even though
its Perl is too old (5.10.1).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2016-11-08 18:07:45 -05:00
committed by John Hood
parent 417907c71d
commit 43251ea8db
3 changed files with 118 additions and 2 deletions
+7 -2
View File
@@ -3,6 +3,7 @@ EXTRA_DIST = \
e2e-test e2e-test-server \
e2e-test-subrs \
mosh-client mosh-server \
local.test \
$(displaytests) \
emulation-attributes.test
@@ -34,8 +35,8 @@ displaytests = \
unicode-later-combining.test \
window-resize.test
check_PROGRAMS = ocb-aes encrypt-decrypt base64 nonce-incr
TESTS = ocb-aes encrypt-decrypt base64 nonce-incr $(displaytests)
check_PROGRAMS = ocb-aes encrypt-decrypt base64 nonce-incr inpty
TESTS = ocb-aes encrypt-decrypt base64 nonce-incr local.test $(displaytests)
XFAIL_TESTS = \
e2e-failure.test \
emulation-attributes-256color8.test
@@ -60,6 +61,10 @@ nonce_incr_SOURCES = nonce-incr.cc
nonce_incr_CPPFLAGS = -I$(srcdir)/../network -I$(srcdir)/../crypto -I$(srcdir)/../util $(CRYPTO_CFLAGS)
nonce_incr_LDADD = ../network/libmoshnetwork.a ../crypto/libmoshcrypto.a ../util/libmoshutil.a $(CRYPTO_LIBS)
inpty_SOURCES = inpty.cc
inpty_CPPFLAGS = -I$(srcdir)/../util
inpty_LDADD = ../util/libmoshutil.a $(LIBUTIL)
clean-local: clean-local-check
.PHONY: clean-local-check
clean-local-check: