From 2106c866bbda769b9749c70732bb015ff4991f54 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 16 Dec 2015 02:40:03 +0100
Subject: [PATCH] Fix testing script.

---
 test_server.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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."
-- 
2.30.2