summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/luajiterr.test
blob: 957c7493088e0decba71ac23e2f198c62e116427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

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