From: karim hamidou Date: Thu, 12 Jul 2012 10:41:38 +0000 (+0200) Subject: added a folder for manual tests X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=35bd9cbf222761c939c0c9b85fae152eaa438cd9;p=cagibi.git added a folder for manual tests --- diff --git a/tests/cagibi.json b/tests/cagibi.json new file mode 100644 index 0000000..917e422 --- /dev/null +++ b/tests/cagibi.json @@ -0,0 +1 @@ +{"directory": "test", "server": "http://localhost:8080/", "folder": "client_dir"} diff --git a/tests/cagibi_server.json b/tests/cagibi_server.json new file mode 100644 index 0000000..ccc2ff0 --- /dev/null +++ b/tests/cagibi_server.json @@ -0,0 +1 @@ +{"directory": "test", "server": "http://localhost:8080/", "folder": "server_dir"} diff --git a/tests/files.json b/tests/files.json new file mode 100644 index 0000000..72c3187 --- /dev/null +++ b/tests/files.json @@ -0,0 +1 @@ +{"foo.txt": {"rev": 1}} \ No newline at end of file diff --git a/tests/runclient b/tests/runclient new file mode 100755 index 0000000..002bac2 --- /dev/null +++ b/tests/runclient @@ -0,0 +1,2 @@ +#!/bin/sh +python ../cagibi/cagibi.py diff --git a/tests/runserver b/tests/runserver new file mode 100755 index 0000000..112d20e --- /dev/null +++ b/tests/runserver @@ -0,0 +1,3 @@ +#!/bin/sh +# a small script to run the server in the current directory. +python ../cagibi/server.py diff --git a/tests/server_dir/foo.txt b/tests/server_dir/foo.txt new file mode 100644 index 0000000..44b7214 --- /dev/null +++ b/tests/server_dir/foo.txt @@ -0,0 +1 @@ +hoo \ No newline at end of file