#! /bin/sh -vx # Copyright 2017-2018 Karl Berry # Copyright 2014 Peter Breitenlohner # 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\(\.exe\)*,./luajittry,' \ -e '/\[C]: at 0x/d' jiterr.tmp >jiterr.out diff $srcdir/jiterr.exp jiterr.out || exit 2