Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions agent/util-scripts/gold/pbench-register-tool-set/test-11.18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
+++ Running test-11.18 pbench-register-tool-set light
"vmstat" tool is now registered for host "testhost.example.com" in group "default"
--- Finished test-11.18 pbench-register-tool-set (status=0)
+++ pbench tree state
/var/tmp/pbench-test-utils/pbench
/var/tmp/pbench-test-utils/pbench/pbench.log
/var/tmp/pbench-test-utils/pbench/tmp
/var/tmp/pbench-test-utils/pbench/tools-v1-default
/var/tmp/pbench-test-utils/pbench/tools-v1-default/testhost.example.com
/var/tmp/pbench-test-utils/pbench/tools-v1-default/testhost.example.com/vmstat
=== /var/tmp/pbench-test-utils/pbench/tools-v1-default/testhost.example.com/vmstat:
--interval=3
--- pbench tree state
+++ pbench.log file contents
[debug][1900-01-01T00:00:00.000000] tool_opts: "--interval=3"
[info][1900-01-01T00:00:00.000000] "vmstat" tool is now registered for host "testhost.example.com" in group "default"
--- pbench.log file contents
1 change: 0 additions & 1 deletion agent/util-scripts/pbench-register-tool-set
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ while true; do
exit 0
;;
--)
shift
break
;;
esac
Expand Down
3 changes: 2 additions & 1 deletion agent/util-scripts/unittests
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ declare -A tools=(
[test-11.15]="pbench-register-tool-set"
[test-11.16]="pbench-register-tool-set"
[test-11.17]="pbench-register-tool-set"
[test-11.18]="pbench-register-tool-set"
[test-17]="test-tm-start-bad-group"
[test-18]="test-tm-stop-bad-group"
[test-19]="test-tool-trigger"
Expand Down Expand Up @@ -475,7 +476,7 @@ declare -A options=(
[test-11.15]="--remotes=@non-existent-file"
[test-11.16]="--remotes=@${_testdir}/tmp/good-remote-file"
[test-11.17]="--remotes=@${_testdir}/tmp/empty-remote-file"

[test-11.18]="light"
# pbench-move-results
[test-20]="--help"
# pbench-move-results - no args, nothing to do
Expand Down