TestClient crashes when console reads an end-of-file

Description

TestClient reads from the console and gets a null pointer exception on an end-of-file. This means that running TestClient in the background from a script on Linux is impossible.

The attached patch adds a new parameter "--nogui" which suppresses the prompt and does not read from the console.

Steps to Reproduce

Run TestClient on Linux: "mono TestClient.exe --loginuri something". Type Cntl-D and you will get a null pointer exception.

Activity

Show:
JohnJ
June 24, 2010, 5:28 PM

Attached patch?

Robert Adams
June 25, 2010, 9:12 AM

Actually adding the patch.

Latif Khalifa
November 20, 2010, 5:15 AM

Patch applied, thanks!

Assignee

Latif Khalifa

Reporter

Robert Adams

Severity

Medium

Environment

Mono / Linux32

Fixed in Revision

None

Components

Fix versions

Affects versions

Priority

Major
Configure