1 This directory contains several tests devided in two groups:
2 (for all tests SHUTTLE package must be built)
4 1) Unit tests: TestAliSimpleValue.C TestMessage.C
5 usage: aliroot TestAliSimpleValue.C
7 2) General tests and examples: TestClient.C TestServer.C TestShuttle.C
10 For TestServer.C and TestShuttle.C test directory must be built.
12 TestShuttleConfig.C and TestShuttle.C require ldap server (see SHUTTLE/schema).
16 TestClient.C - Simple client macros using AliDCSClient.
17 .x TestClient.C("<host>", <port>, "<alias_list>", <startTime_offset>,
20 <host> - Amanda server host.
21 <port> - Amanda server port.
23 <alias_list> - coma separated list of aliases
24 (e.g. "HighVol01,HighVol02").
25 <startTime_offset> - StartTime offset from the current moment.
26 <endTime_offset> - EndTime offset from the current moment.
29 TestServer.C - Test server. Could be connected with TestClient.C
30 .x TestServer.C("<port>")
31 <port> - Port which the server will listen to.
38 .x TestShuttleConfig.C