security/agent/test: move "test" package to "pingpong" so we don't need to manually set different output file in shelltest-runner (a driver GO program to run all shell tests).
Change-Id: I1a26f0353bcfd67725839273aec924202a8d5c0f
diff --git a/security/agent/test/main.go b/security/agent/pingpong/main.go
similarity index 100%
rename from security/agent/test/main.go
rename to security/agent/pingpong/main.go
diff --git a/security/agent/test/wire.vdl b/security/agent/pingpong/wire.vdl
similarity index 100%
rename from security/agent/test/wire.vdl
rename to security/agent/pingpong/wire.vdl
diff --git a/security/agent/test/wire.vdl.go b/security/agent/pingpong/wire.vdl.go
similarity index 100%
rename from security/agent/test/wire.vdl.go
rename to security/agent/pingpong/wire.vdl.go
diff --git a/security/agent/test.sh b/security/agent/test.sh
index b9d9ba8..8efeed6 100755
--- a/security/agent/test.sh
+++ b/security/agent/test.sh
@@ -8,7 +8,7 @@
build() {
AGENTD_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/security/agent/agentd')"
- PINGPONG_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/security/agent/test' 'pingpong')"
+ PINGPONG_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/security/agent/pingpong')"
IDENTITY_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/tools/identity')"
}
diff --git a/security/agent/testchild.sh b/security/agent/testchild.sh
index 7a9fa58..0bd2a9d 100644
--- a/security/agent/testchild.sh
+++ b/security/agent/testchild.sh
@@ -8,7 +8,7 @@
if [[ -n "${VEYRON_IDENTITY}" ]]; then
shell_test::fail "line ${LINENO}: identity preserved"
fi
- PINGPONG_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/security/agent/test' 'pinpong')"
+ PINGPONG_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/security/agent/pingpong')"
shell_test::start_server "${PINGPONG_BIN}" --server
"${PINGPONG_BIN}" || shell_test::fail "line ${LINENO}: ping"