diff --git a/Makefile b/Makefile index c9c78fe..2eaef64 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ test_end_to_end: clean_test_end_to_end release sudo mkdir /etc/ruroco sudo mv ./ruroco_public.pem /etc/ruroco - sudo cp ./tests/config.toml /etc/ruroco + sudo cp ./tests/config_end_to_end.toml /etc/ruroco/config.toml sudo chmod 400 /etc/ruroco/ruroco_public.pem sudo chown -R ruroco:ruroco /tmp/ruroco_test diff --git a/tests/config_end_to_end.toml b/tests/config_end_to_end.toml new file mode 100644 index 0000000..84fae1a --- /dev/null +++ b/tests/config_end_to_end.toml @@ -0,0 +1,5 @@ +address = "127.0.0.1:8080" +config_dir = "/etc/ruroco/" + +[commands] +default = "touch /tmp/ruroco_test/start.test /tmp/ruroco_test/stop.test"