#!/bin/sh #---------------------------------------------------------------------------- # /etc/rc.d/rc002.luatests # # Last Update: $Id$ #---------------------------------------------------------------------------- if [ "$OPT_LUATESTS" = yes -a "$LUATESTS_RUNATBOOTTIME" = yes ] then begin_script RC002_LUATESTS "running Lua test suite..." ( cd /usr/share/luatests; lua -e _port=true all.lua ) >/var/tmp/luatests.log 2>&1 SCRIPT_RESULT=$? SCRIPT_WARNONLY= end_script fi