diff options
Diffstat (limited to 'Build/source/libs/lua53/luaerror.test')
-rwxr-xr-x | Build/source/libs/lua53/luaerror.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/libs/lua53/luaerror.test b/Build/source/libs/lua53/luaerror.test new file mode 100755 index 00000000000..e313f3694c4 --- /dev/null +++ b/Build/source/libs/lua53/luaerror.test @@ -0,0 +1,13 @@ +#! /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.tmp && exit 1 + +sed -e 's/lt-luatry/luatry/;s,^.*/luatry,./luatry,' error.tmp >error.out + +diff $srcdir/error.exp error.out || exit 1 + + + |