summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-tls.sh8
-rwxr-xr-xtools/run-two-clients.sh8
-rwxr-xr-xtools/run.sh8
3 files changed, 12 insertions, 12 deletions
diff --git a/tools/run-tls.sh b/tools/run-tls.sh
index 894a9f7..c1b84ea 100755
--- a/tools/run-tls.sh
+++ b/tools/run-tls.sh
@@ -1,8 +1,8 @@
#!/bin/sh
tmux \
- new-session "go run cmd/daemon/main.go -tls -tls-cert cert.pem -tls-key key.pem; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -tls -tls-insecure -u user1; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -tls -tls-insecure -u user2; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -tls -tls-insecure -u user3; read" \; \
+ new-session "go run cmd/daemon/main.go -tls -tls-cert cert.pem -tls-key key.pem -test -db test.db; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user1; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user2; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user3; read" \; \
select-layout tiled; \ No newline at end of file
diff --git a/tools/run-two-clients.sh b/tools/run-two-clients.sh
index 884a88a..d5d9294 100755
--- a/tools/run-two-clients.sh
+++ b/tools/run-two-clients.sh
@@ -1,8 +1,8 @@
#!/bin/sh
tmux \
- new-session "go run cmd/daemon/main.go; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user1; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user1; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user2; read" \; \
+ new-session "go run cmd/daemon/main.go -test -db test.db; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user1@localhost -p test; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user1@localhost -p test; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user2@localhost -p test; read" \; \
select-layout tiled; \ No newline at end of file
diff --git a/tools/run.sh b/tools/run.sh
index dbe0bf0..2245c90 100755
--- a/tools/run.sh
+++ b/tools/run.sh
@@ -1,8 +1,8 @@
#!/bin/sh
tmux \
- new-session "go run cmd/daemon/main.go; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user1; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user2; read" \; \
- split-window "sleep 0.5; go run cmd/client/main.go -u user3; read" \; \
+ new-session "go run cmd/daemon/main.go -test -db test.db; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user1@localhost -p test; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user2@localhost -p test; read" \; \
+ split-window "sleep 1; go run cmd/client/main.go -u user3@localhost -p test; read" \; \
select-layout tiled; \ No newline at end of file