abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 77db580a63d0d1b5e8b311cc1445043170dd42d5
parent 0ca1a36cbce7785e607300b70cfbab1f58fbc24f
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Fri, 20 Jun 2014 13:29:37 +0200

Remove trailing white spaces

Diffstat:
abduco.c | 4++--
testsuite.sh | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/abduco.c b/abduco.c @@ -93,7 +93,7 @@ struct Client { Client *next; }; -typedef struct { +typedef struct { Client *clients; int socket; Packet pty_output; @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) { action = 'c'; goto redo; } - die("attach-session"); + die("attach-session"); } } diff --git a/testsuite.sh b/testsuite.sh @@ -32,7 +32,7 @@ expected_abduco_output() { check_environment() { [ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && return 1; - pgrep abduco && echo Abduco process exists && return 1; + pgrep abduco && echo Abduco process exists && return 1; return 0; } @@ -78,7 +78,7 @@ run_test_detached() { $cmd &> /dev/null expected_abduco_output "$name" $? > "$output_expected" - if $ABDUCO -n "$name" $cmd &> /dev/null && sleep 1 && + if $ABDUCO -n "$name" $cmd &> /dev/null && sleep 1 && $ABDUCO -a "$name" 2>&1 | head -n -1 | sed 's/.$//' > "$output" && diff -u "$output_expected" "$output" && check_environment; then rm "$output" "$output_expected"