Make so Remy can see SH changes.

This commit is contained in:
Patrick Kloepfer 2019-03-02 21:15:17 -05:00
parent 272debc1a3
commit 59b6971432
5 changed files with 18 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -45,12 +45,12 @@ ELSE
ECHO "\nPress Return to redisplay menu" ECHO "\nPress Return to redisplay menu"
PAUSE PAUSE
ELSE ELSE
# IF [ $Z = "6" ] IF [ $Z = "6" ]
# ELSE ELSE
# IF [ $Z = "7" ] IF [ $Z = "7" ]
# ELSE ELSE
# IF [ $Z = "8" ] IF [ $Z = "8" ]
# ELSE ELSE
IF [ $Z = "9" ] IF [ $Z = "9" ]
PUSHD PUSHD
CD ../TESTS CD ../TESTS
@ -61,9 +61,9 @@ ELSE
SET MENULOOP = 0 SET MENULOOP = 0
ELSE ELSE
ECHO "\n\nInvalid Selection\n" ECHO "\n\nInvalid Selection\n"
# FI FI
# FI FI
# FI FI
FI FI
FI FI
FI FI

View File

@ -10,6 +10,9 @@ echo "Y for Yes and N for No. Return (blank or empty) will mean NO."
echo "\n\n" echo "\n\n"
READ -P "Press Return to start tests" Z READ -P "Press Return to start tests" Z
#Clear Screen Test #Clear Screen Test
IF [ -Z $T ]
SET T = 0
FI
SET T = $T + 1 SET T = $T + 1
echo \f echo \f
echo \n echo \n

View File

@ -8,18 +8,24 @@ AUTO 4,1
# #
ECHO "\n\nBasic READ and IF Testing\n\n" ECHO "\n\nBasic READ and IF Testing\n\n"
READ -P "Please type and A and press return: " Z READ -P "Please type and A and press return: " Z
ECHO
ECHO "\nYou typed: $Z\n" ECHO "\nYou typed: $Z\n"
IF [ $Z = "A" ] IF [ $Z = "A" ]
ECHO "Test Passed First IF" ECHO "Test Passed First IF"
ECHO
ELSE ELSE
ECHO "Test Failed First IF" ECHO "Test Failed First IF"
ECHO
FI FI
READ -P "Please type and 1 and press return: " Z READ -P "Please type and 1 and press return: " Z
ECHO
ECHO "\nYou typed: $Z\n" ECHO "\nYou typed: $Z\n"
IF [ $Z = "1" ] IF [ $Z = "1" ]
ECHO "Test Passed Second IF" ECHO "Test Passed Second IF"
ECHO
ELSE ELSE
ECHO "Test Failed Second IF" ECHO "Test Failed Second IF"
ECHO
FI FI
MAN MAN
TEXT /MAKE/USR/SHARE/TESTS/READIF TEXT /MAKE/USR/SHARE/TESTS/READIF