From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 16 Dec 2015 01:40:03 +0000 (+0100)
Subject: Fix testing script.
X-Git-Tag: tce~221
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/bar%20baz.html?a=commitdiff_plain;h=2106c866bbda769b9749c70732bb015ff4991f54;p=plomrogue

Fix testing script.
---

diff --git a/test_server.sh b/test_server.sh
index e154959..edaca0d 100755
--- a/test_server.sh
+++ b/test_server.sh
@@ -1,10 +1,12 @@
 #!/bin/sh
 
+set -e
+
 ./build.sh
 echo "Copying tested server script to ./tested_server.py."
 cp ./roguelike-server ./testing/tested_server.py
 echo "Copying tested C library source to ./tested_server_lib.c."
-cp ./src/server/libplomrogue.c ./testing/tested_server_lib.c
+cp .libplomrogue.c ./testing/tested_server_lib.c
 
 cp ./testing/start _test
 echo "Starting server on save file '_test' copied from ./testing/start."