summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/hub/dump-test-db3
-rwxr-xr-xsrc/hub/test-client3
-rwxr-xr-xsrc/hub/test-srv4
3 files changed, 10 insertions, 0 deletions
diff --git a/src/hub/dump-test-db b/src/hub/dump-test-db
new file mode 100755
index 0000000..89cc5af
--- /dev/null
+++ b/src/hub/dump-test-db
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo .dump | sqlite3 ~/test.sqlite
+
diff --git a/src/hub/test-client b/src/hub/test-client
new file mode 100755
index 0000000..0ece313
--- /dev/null
+++ b/src/hub/test-client
@@ -0,0 +1,3 @@
+#!/bin/sh
+socat file:../../dat/sample.json,rdonly unix-client:/run/sfive/receiver
+
diff --git a/src/hub/test-srv b/src/hub/test-srv
new file mode 100755
index 0000000..d7581ce
--- /dev/null
+++ b/src/hub/test-srv
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -f /run/sfive/receiver
+./bin/sfive-hub