Commit fceaa3b8 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/client.c:1.117
Rev: src/testsuite/lshg-cat-2-test:1.2
parent 58ceb463
......@@ -934,6 +934,8 @@ client_argp_parser(int key, char *arg, struct argp_state *state)
if (options->escape < 0)
{
/* FIXME: This check is wrong. We should test whether or not
* stdin is a tty. */
/* Default behaviour */
if (options->tty && INTERACT_IS_TTY(options->tty))
options->escape = DEFAULT_ESCAPE_CHAR;
......
......@@ -17,6 +17,6 @@ fi
spawn_lshd && spawn_lsh -G && sleep 20 && cat ../lshd | exec_lshg cat ">" "`pwd`/test.out1"
cat ../lshd > test.out2
compare_output "lsh-cat-2-test"
compare_output "lshg-cat-2-test"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment