mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
NEW
|
||
PREFIX
|
||
AUTO 4,1
|
||
#!/BIN/SH
|
||
#
|
||
# This menu will display a menu of test options
|
||
# to run, both interactive and batch.
|
||
#
|
||
ECHO "\f A2osX Test System Menu\n"
|
||
ECHO " 1) Core Tests"
|
||
ECHO " B) Display Tests (Echo and Read)"
|
||
ECHO " 3) Pathing Tests (CD PWD POPD PUSHD)"
|
||
ECHO " 4) Internal Command Tests"
|
||
ECHO " 5) External Command Tests"
|
||
ECHO " 6) SHTEST"
|
||
ECHO " 7) Copy Test Files\n"
|
||
ECHO " 8) Display Logs\n"
|
||
ECHO " 9) Build Test Suite with Logging"
|
||
ECHO "\n"
|
||
READ -P "Enter Choice: " Z
|
||
IF [ $Z -EQ 1 ]
|
||
CORETEST
|
||
ELSE
|
||
IF [ $Z = "B" ]
|
||
DISPLAYTEST
|
||
ELSE
|
||
IF [ $Z = "3" ]
|
||
PATHTEST
|
||
ELSE
|
||
IF [ $Z = "4" ]
|
||
INTERNALTEST
|
||
ELSE
|
||
IF [ $Z = "5" ]
|
||
EXTERNALTEST
|
||
ELSE
|
||
IF [ $Z = "6" ]
|
||
SHTEST
|
||
ELSE
|
||
IF [ $Z = "7" ]
|
||
COPYTESTS
|
||
ELSE
|
||
IF [ $Z = "8" ]
|
||
LOG
|
||
ELSE
|
||
IF [ $Z = "9" ]
|
||
BUILDTEST
|
||
ELSE
|
||
ECHO "\n\nInvalid Selection\n"
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
FI
|
||
MAN
|
||
TEXT /MAKE/USR/SHARE/TESTS/TESTMENU
|