A2osX/TESTS/ARGTEST.txt

30 lines
832 B
Plaintext
Raw Normal View History

2019-01-16 04:50:18 +00:00
NEW
PREFIX
2019-01-16 04:50:18 +00:00
AUTO 4,1
#!/BIN/SH
#
# This is a test of passing args
# This script calls ARGTEST2 passing a known set
# of arguments which ARGTEST2 checks to verify
# arg passing works.
#
# Note that $$ is passed which is this process id
# and can be checked in ARGTEST2 to compare with
# parent process id, this will validate both are working.
#
# This script is part of the BUILDTEST suite, as such
# we first make sure it was called from that suite by
# checking for $LOG
#
#
# Now call Argtest Sub Script
#
2019-09-11 01:20:09 +00:00
echo "Here are the variables that are SET" >> ${Log}
echo "----------------------------------------" >> ${Log}
echo >> ${Log}
SET >> ${Log}
echo "----------------------------------------" >> ${Log}
2019-03-01 18:19:14 +00:00
. ARGTEST2 A 1 B 2 C 3 Hello $$ 82 Tenth
2019-01-16 04:50:18 +00:00
MAN
TEXT /MAKE/USR/SHARE/TESTS/ARGTEST