Skip to content

Commit 4953157

Browse files
committed
Fix legacy unit tests
1 parent 45e0124 commit 4953157

File tree

40 files changed

+305
-0
lines changed

40 files changed

+305
-0
lines changed

agent/tool-scripts/tests/blktrace/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ blktrace: Error, one of the following options is required, --install|--start|--s
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--devices=str,[str] the list of block devices to trace (required w/ --start)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
blktrace: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/blktrace/tools-group/blktrace', missing

agent/tool-scripts/tests/bpftrace/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ bpftrace: Error, one of the following options is required, --install|--start|--s
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--script=str path to the bpftrace script (required w/ --start)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
bpftrace: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/bpftrace/tools-group/bpftrace', missing

agent/tool-scripts/tests/cpuacct/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ cpuacct: Error, one of the following options is required, --install|--start|--st
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
cpuacct: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/cpuacct/tools-group/cpuacct', missing

agent/tool-scripts/tests/disk/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ disk: Error, one of the following options is required, --install|--start|--stop|
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
disk: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/disk/tools-group/disk', missing

agent/tool-scripts/tests/dm-cache/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ dm-cache: Error, one of the following options is required, --install|--start|--s
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
dm-cache: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/dm-cache/tools-group/dm-cache', missing

agent/tool-scripts/tests/docker-info/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ docker-info: Error, one of the following options is required, --install|--start|
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
docker-info: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/docker-info/tools-group/docker-info', missing

agent/tool-scripts/tests/docker/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ docker: Error, one of the following options is required, --install|--start|--sto
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
16+
Help option - do *not* specify this when you register a tool:
17+
1018

1119
-h|--help display this help message
1220
docker: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/docker/tools-group/docker', missing

agent/tool-scripts/tests/haproxy-ocp/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@ haproxy-ocp: Error, one of the following options is required, --install|--start|
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
1016
--counters-clear-all clear all HAProxy counters at tool start (optional, default: 'false')
17+
Help option - do *not* specify this when you register a tool:
18+
1119

1220
-h|--help display this help message
1321
haproxy-ocp: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/haproxy-ocp/tools-group/haproxy-ocp', missing

agent/tool-scripts/tests/iostat/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@ iostat: Error, one of the following options is required, --install|--start|--sto
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
1016
--options=str options passed directly to the tool (optional)
17+
Help option - do *not* specify this when you register a tool:
18+
1119

1220
-h|--help display this help message
1321
iostat: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/iostat/tools-group/iostat', missing

agent/tool-scripts/tests/jmap/gold/stderr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,21 @@ jmap: Error, one of the following options is required, --install|--start|--stop|
22

33
The following options are available:
44

5+
Generic options - do *not* specify any of these when you register a tool:
6+
57
--install verify this perf tool will work
68

79
--start|stop|postprocess start/stop/postprocess the data collection
810
-d str|--dir=str directory to store data collection (required)
11+
12+
13+
Tool-specific options - these should be specified when you register a tool:
14+
915
--interval=int number of seconds between each data collection (optional, default is 10 seconds)
1016
--pid=int a process ID to jmap
1117
--pattern=str jmap any PID which name matches this string (via pgrep)
18+
Help option - do *not* specify this when you register a tool:
19+
1220

1321
-h|--help display this help message
1422
jmap: WARNING - postprocess - tool output directory, '/var/tmp/pbench-test-tool-scripts/jmap/tools-group/jmap', missing

0 commit comments

Comments
 (0)