summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua52/luaerror.test
blob: e313f3694c4075c877d979bd2cf5ddc85e982723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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