summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/luajiterr.test
blob: 648d6a4ccd057459931386de074b81bde6c76266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -vx
# Copyright 2017-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

./luajittry -e "error('test')" 2>jiterr.tmp && exit 1

sed -e 's/lt-luajittry/luajittry/;s,^.*/luajittry,./luajittry,' \
    -e '/\[C]: at 0x/d' jiterr.tmp >jiterr.out

diff $srcdir/jiterr.exp jiterr.out || exit 1