lyx_mirror/development/keystest/main.sh
Pavel Sanda ce4b91c109 Next keystest patch from John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 22:11:59 +00:00

20 lines
404 B
Bash
Executable File

#PWD=`pwd`
. ./shared_variables.sh
if [ "$USER" != keytest ]
then
echo USER is "$USER", not keytest! Exiting.
exit
fi
for file in $ROOT_OUTDIR/to*/*pure
do
if ! cat $file > /dev/null
then
echo cannot read $file, perhaps permissions are wrong?
exit 1
fi
done
#(DISPLAY=:1 sudo -u keytest -H nice -18 ; cd $PWD ; ./autolyx)
./killtest.sh # kill any previous test, so does not interfere
./autolyx