summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua53/luaerror.test
blob: 6c1e7a10130c5a3081301ba169f718c7d8c70c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
# Copyright 2018 Karl Berry <tex-live@tug.org>
# Copyright 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

LC_ALL=C; export LC_ALL;  LANGUAGE=C; export LANGUAGE

./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