* rename the (generated) Test.sh to test.sh

* point to it, TFM and the sample more
This commit is contained in:
tg 2006-08-22 22:01:59 +00:00
parent 7161eeb35e
commit e20d82c4d1
1 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $MirOS: src/bin/mksh/Build.sh,v 1.48 2006/08/12 20:30:22 tg Exp $
# $MirOS: src/bin/mksh/Build.sh,v 1.49 2006/08/22 22:01:59 tg Exp $
#-
# This script recognises CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS and NROFF.
# Environment: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, NROFF
: ${CFLAGS='-O2 -fno-strict-aliasing -fno-strength-reduce -Wall'}
: ${CC=gcc} ${NROFF=nroff}
@ -112,12 +112,10 @@ test -x mksh || exit 1
test $r = 1 || v "$NROFF -mdoc <'$srcdir/mksh.1' >mksh.cat1" || \
rm -f mksh.cat1
test $q = 1 || v size mksh
echo "#!$curdir/mksh" >Test.sh
echo "#!$curdir/mksh" >test.sh
echo "exec perl '$srcdir/check.pl' -s '$srcdir/check.t'" \
"-p '$curdir/mksh' -C pdksh \$*" >>Test.sh
chmod 755 Test.sh
$e
$e To test mksh, execute ./Test.sh
"-p '$curdir/mksh' -C pdksh \$*" >>test.sh
chmod 755 test.sh
$e
$e Installing the shell:
$e "# install -c -s -o root -g bin -m 555 mksh /bin/mksh"
@ -131,3 +129,6 @@ if test -s mksh.cat1; then
$e or
fi
$e "# install -c -o root -g bin -m 444 mksh.1 /usr/share/man/man1/mksh.1"
$e
$e Run the regression test suite: ./test.sh
$e Please also read the sample file dot.mkshrc and the manual.