Remove trailing white spaces

This commit is contained in:
Marc André Tanner 2014-06-20 13:29:37 +02:00
parent 0ca1a36cbc
commit 77db580a63
2 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,7 @@ struct Client {
Client *next; Client *next;
}; };
typedef struct { typedef struct {
Client *clients; Client *clients;
int socket; int socket;
Packet pty_output; Packet pty_output;
@ -510,7 +510,7 @@ int main(int argc, char *argv[]) {
action = 'c'; action = 'c';
goto redo; goto redo;
} }
die("attach-session"); die("attach-session");
} }
} }

View File

@ -32,7 +32,7 @@ expected_abduco_output() {
check_environment() { check_environment() {
[ "`$ABDUCO | wc -l`" -gt 1 ] && echo Abduco session exists && return 1; [ "`$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; return 0;
} }
@ -78,7 +78,7 @@ run_test_detached() {
$cmd &> /dev/null $cmd &> /dev/null
expected_abduco_output "$name" $? > "$output_expected" 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" && $ABDUCO -a "$name" 2>&1 | head -n -1 | sed 's/.$//' > "$output" &&
diff -u "$output_expected" "$output" && check_environment; then diff -u "$output_expected" "$output" && check_environment; then
rm "$output" "$output_expected" rm "$output" "$output_expected"