diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2014-10-16 20:25:11 +0200 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2014-10-16 20:25:11 +0200 |
commit | 19071ea420093a6957ebb3a06965ddf780fcb58d (patch) | |
tree | 5d2e39092908aa7a26526ab792575f77549a9054 | |
parent | create debug version of sfive-hub (diff) |
add testing shell scripts
-rwxr-xr-x | src/hub/dump-test-db | 3 | ||||
-rwxr-xr-x | src/hub/test-client | 3 | ||||
-rwxr-xr-x | src/hub/test-srv | 4 |
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 |