John Hood
cbca234b38
Add a separate test for BCE
...
This test is properly gated on tmux 2.4.
2017-11-08 19:50:35 -05:00
Kang.Jianbin
96b5027d9e
Add emulation-attributes test for true color.
2017-10-29 20:20:03 -04:00
John Hood
23ec4e59cb
Revert "Disable unicode-later-combining.test for now"
...
This reverts commit df4dbe0d6c .
2017-05-07 20:28:14 -04:00
John Hood
d205a98a87
Test for SCROLL UP and SCROLL DOWN.
2017-05-06 11:23:56 -04:00
John Hood
df4dbe0d6c
Disable unicode-later-combining.test for now
...
tmux 2.4+ has serious bugs with combining characters.
2017-04-26 01:25:59 -04:00
Adrien Destugues
aa74af9a34
Fix build on Haiku.
...
- Look for socket in libnetwork
- Look for forkpty in libbsd
2017-04-24 22:40:31 -04:00
John Hood
654f269917
Make tests detect UTF-8 locale with a helper executable
...
This uses the same utility function that mosh-client/mosh-server do.
This resolves portability issues with the 'locale' command.
This fixes OpenBSD 6.0 and probably Haiku builds.
2017-04-24 22:38:47 -04:00
Anders Kaseorg
43251ea8db
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 >
2016-11-12 23:25:35 -05:00
John Hood
52d10cf211
Add a test for spinning on no-change screen updates
2016-11-06 06:15:42 -05:00
John Hood
444eae1fc4
Add tests to run Mosh repeatedly.
2016-11-06 06:15:41 -05:00
Keith Winstein
da7c87a822
Add test for nonce incrementing
2016-08-10 04:49:52 -07:00
John Hood
49a4106ae4
src/tests: clean up duplicate code
2016-03-30 23:52:19 -04:00
John Hood
2ac3bbeb9b
Fix prediction unicode bug. Make all Cell members private.
...
Fixes #702 .
2015-12-24 22:27:17 -05:00
John Hood
1d71895ff4
Add support for back tab (CSI CBT), and forward tab (CSI CHT) too.
...
Resolves #539 .
2015-12-06 22:38:19 -05:00
john hood
8609f88207
mosh-server: Fix hang with ^S on OS X and FreeBSD.
...
Fixes #692 .
2015-12-06 19:09:42 -05:00
John Hood
992fec1f30
e2e-test: Add check for Instruction verification failures.
2015-12-06 17:47:11 -05:00
John Hood
484677289d
Add test for rendering failures on text wrapping across frames
2015-12-06 17:47:11 -05:00
John Hood
65ced750e6
Test ASCII and ISO-8859-1 output.
2015-12-06 17:42:34 -05:00
John Hood
8681199957
Add VT100/color attributes tests.
2015-12-06 17:42:34 -05:00
John Hood
e13011f318
add test for cursor motion optimization
2015-12-06 17:42:34 -05:00
John Hood
b742e958b6
mosh-server: Support timeouts on lost connectivity to network client.
...
Closes #690 .
2015-11-24 02:36:08 -05:00
John Hood
0eb614809a
Add configurable support for Apple Common Crypto and Nettle libraries.
2015-10-16 19:00:42 -04:00
John Hood
db311f92f7
Replace OpenSSL base64 impl with a simple direct impl.
...
Unit tests, too.
2015-10-16 19:00:42 -04:00
John Hood
3c52091f4d
Add window resizing test
2015-10-14 23:28:21 -04:00
John Hood
01749be642
Add test for behavior at column 80.
2015-10-14 23:28:21 -04:00
John Hood
fb76563d33
Add multiline-scroll regression test
2015-10-14 23:28:21 -04:00
John Hood
14ae25ee2a
Add test for unicode combining fallback assert, issue 667
2015-10-14 23:28:12 -04:00
John Hood
307b241f0d
End to end test suite for Mosh sessions.
...
For original messy development history, see
https://github.com/cgull/mosh/tree/localhost
or
https://github.com/cgull/mosh/commit/e7feed48a4a271e2977f714f58acfa04cdaa5cca
2015-10-14 23:27:29 -04:00
Anders Kaseorg
7b9e548aa0
Run tests with ‘make check’
...
The configure --enable-tests flag is no longer needed because
check_PROGRAMS are not built until you run ‘make check’.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2013-03-10 15:47:33 -04:00
Keith Winstein
57c4904ed8
Switch to OpenSSL base64 routines
2012-07-20 16:00:21 -04:00
Keith Winstein
fbb768ca1c
Include test_utils.h in "SOURCES" so it is distributed
2012-04-24 19:15:30 -04:00
Keegan McAllister
d2434d1a79
Check compiler support for -fno-default-inline and -pipe
...
clang was spewing warnings about the unrecognized -fno-default-inline. (Oddly,
it warns only with -c, not when compiling directly to an executable.) For
completeness we also check -pipe, even though clang is OK with that one.
It should be fine to omit either flag. gcc -fno-default-inline drops the
implicit 'inline' annotation on functions defined inside a class scope, but
'inline' is only a hint anyway. -fno-default-inline does not change linkage.
-pipe is merely a compile speed optimization.
2012-04-13 12:27:27 -04:00
Keegan McAllister
349e2d20c8
Use the hardening flags
...
Closes #79 .
2012-04-13 12:25:09 -04:00
Keegan McAllister
c354a69ee6
Test the Mosh crypto layer
2012-04-06 23:43:42 -04:00
Keegan McAllister
d1c4b0a5d7
Test the OCB-AES reference implementation
...
This tests cryptographic primitives implemented by others. It uses the same
interfaces and indeed the same compiled object code as the Mosh client and
server. It does not particularly test any code written for the Mosh project.
2012-04-06 23:43:42 -04:00
Keegan McAllister
fe34cb3809
Create src/tests
2012-04-06 23:43:42 -04:00