summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua52/luaerror.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/lua52/luaerror.test')
-rwxr-xr-xBuild/source/libs/lua52/luaerror.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/libs/lua52/luaerror.test b/Build/source/libs/lua52/luaerror.test
new file mode 100755
index 00000000000..2f6958b3a4c
--- /dev/null
+++ b/Build/source/libs/lua52/luaerror.test
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+./luatry -e "error('test')" 2>error.out && exit 1
+
+diff $srcdir/error.exp error.out || exit 1
+
+
+