1 s.soni 1.1 #!/bin/bash
2
3 # This script run the TimingClient program and CLI test client program together
4 # in order to test the simultaneous execution of provider methods.
5 # This script also introduces the sleep() in between these 2 clients in order
6 # to load/unload provider.
7 # TODO: Not sure how many seconds are required in order to trigger the unload
8 # of providers.
9
10
11 TimingClient
12 sleep(5)
13
14 # Enumerate Instances/ Instances Name of the classes implemented by the provider
15
16 CLI ei -n root/SampleProvider TimeOne
17 CLI ni -n root/SampleProvider TimeTwo
18 TimingClient
19 sleep(2)
20
21 CLI ei -n root/SampleProvider TimeTwo
22 s.soni 1.1 CLI ni -n root/SampleProvider TimeOne
23 sleep(20)
24
25 TimingClient
26
27 # Enumerate Base Class and other subclasses
28 CLI ec -n root/SampleProvider TimingSampleClass
29 sleep(1)
30 CLI ec -n root/SampleProvider TimeOne
31 sleep(1)
32 CLI ec -n root/SampleProvider TimeTwo
|