Test client with different user. @throws IOException I/O exception
()
| 49 | * @throws IOException I/O exception |
| 50 | */ |
| 51 | @Test public void user() throws IOException { |
| 52 | run("-cEXIT", "-cDROP USER " + NAME); |
| 53 | equals("5" + Prop.NL, new String[] { "-U" + NAME, "-P" + NAME, "-q5" }, |
| 54 | new String[] { "-cCREATE USER " + NAME + ' ' + NAME }); |
| 55 | run("-cEXIT", "-cDROP USER " + NAME); |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * Runs a request and compares the result with the expected result. |