From 35bd9cbf222761c939c0c9b85fae152eaa438cd9 Mon Sep 17 00:00:00 2001 From: karim hamidou Date: Thu, 12 Jul 2012 12:41:38 +0200 Subject: [PATCH] added a folder for manual tests --- tests/cagibi.json | 1 + tests/cagibi_server.json | 1 + tests/files.json | 1 + tests/runclient | 2 ++ tests/runserver | 3 +++ tests/server_dir/foo.txt | 1 + 6 files changed, 9 insertions(+) create mode 100644 tests/cagibi.json create mode 100644 tests/cagibi_server.json create mode 100644 tests/files.json create mode 100755 tests/runclient create mode 100755 tests/runserver create mode 100644 tests/server_dir/foo.txt 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 -- 2.43.0