Updated tests and Issue List

This commit is contained in:
Patrick Kloepfer 2019-03-03 15:15:24 -05:00
parent 59b6971432
commit 2515e8d0cf
3 changed files with 22 additions and 6 deletions

Binary file not shown.

View File

@ -3,10 +3,11 @@ NEW
AUTO 4,1
#!/BIN/SH
#SET -X
ECHO "\n\nThis is the ENV Test"
ECHO "\f\n This is the ENV Test"
ECHO "\n This will stress the ENV space and string handling"
ECHO "\n\nEnter the size of the base string to use."
ECHO "Acceptable values are 20, 40, 60, 80 and 100\n"
ECHO "Acceptable values are 20, 40, 60, 80 and 100"
ECHO
read -P "String size: " Z
IF [ $Z = "20" ]
SET A = "A1B2C3D4E5F6G7H8I9J0"
@ -30,6 +31,7 @@ ELSE
FI
FI
FI
ECHO
ECHO "Base String Set to ${A}"
ECHO Copy A to B
SET B = ${A}

View File

@ -3,12 +3,26 @@ NEW
AUTO 4,1
#!/BIN/SH
#
# This script tests the MD5 command to make sure
# it is properly generating and returning correct
# MD5 values.
#
# This test uses the SET var = `command` directive,
# testing that facility as well.
#
ECHO \n\nMD5 Test
ECHO Hash should be:
ECHO B10A8DB164E0754105B7A99BE72E3FE5
MD5 -D "Hello World"
SET TestPhrase = "Hello World"
SET CorrectValue = "b10a8db164e0754105b7a99be72e3fe5"
ECHO "\f\n MD5 Test"
ECHO "\n\nThis script tests the MD5 command to make sure"
ECHO "it is properly generating and returning correct"
ECHO "MD5 values.\n\n"
SET Result = `MD5 -D $TestPhrase`
IF [ $Result = $CorrectValue ]
ECHO "This Test Passed"
ELSE
ECHO "This Test Failed"
ECHO "The returned result was: $Result"
FI
echo \n\n
MAN
TEXT /MAKE/USR/SHARE/TESTS/MD5TEST