Skip to content

Commit

Permalink
was part of the qa wrapper for a long time, just never found the time…
Browse files Browse the repository at this point in the history
… to check it in
  • Loading branch information
sonmi%netscape.com committed Dec 22, 2000
1 parent 527a0ba commit 1bed429
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions security/nss/tests/mksymlinks
@@ -0,0 +1,64 @@
#! /bin/sh

O_OPTIONS=ON

. `dirname $0`/header

if [ $O_DEBUG = ON ]
then
Debug "NTDIST $NTDIST"
Debug "UXDIST $UXDIST"
Debug "TESTSCRIPTDIR $TESTSCRIPTDIR"
fi

if [ -d "$D1" ]
then
cd $D1
else
glob_usage "cant cd to $D1 Exiting"
fi

if [ -d "$NTDIST" ]
then
cd $NTDIST
ln -s WINNT4.0_DBG.OBJ WINNT5.0_DBG.OBJ
ln -s WINNT4.0_DBG.OBJD WINNT5.0_DBG.OBJD
ln -s WINNT4.0_OPT.OBJ WINNT5.0_OPT.OBJ

#ln -s WIN954.0_DBG.OBJD WIN954.0_DBG.OBJ
#ln -s WINNT4.0_DBG.OBJD WINNT4.0_DBG.OBJ
#ln -s WINNT5.0_DBG.OBJD WINNT5.0_DBG.OBJ
tell
else
Echo "WARNING!!! cant cd to $NTDIST "
fi

if [ -d "$UXDIST" ]
then
cd $UXDIST
else
glob_usage "Error!!! cant cd to $UXDIST "
fi

ErrorFlag=0

if [ ! -h OSF1V5.0_DBG.OBJ ]
then
ln -s OSF1V4.0D_DBG.OBJ OSF1V5.0_DBG.OBJ || ErrorFlag=1
fi
if [ ! -h OSF1V5.0_OPT.OBJ ]
then
ln -s OSF1V4.0D_OPT.OBJ OSF1V5.0_OPT.OBJ || ErrorFlag=1
fi
if [ ! -h SunOS5.8_DBG.OBJ ]
then
ln -s SunOS5.6_DBG.OBJ SunOS5.8_DBG.OBJ || ErrorFlag=1
fi
if [ ! -h SunOS5.8_OPT.OBJ ]
then
ln -s SunOS5.6_OPT.OBJ SunOS5.8_OPT.OBJ || ErrorFlag=1
fi

tell

exit $ErrorFlag #no cleanup here, no tempfiles

0 comments on commit 1bed429

Please sign in to comment.