2019-01-16 04:50:18 +00:00
|
|
|
|
NEW
|
2019-02-14 04:45:39 +00:00
|
|
|
|
PREFIX
|
2019-01-16 04:50:18 +00:00
|
|
|
|
AUTO 4,1
|
2019-02-18 05:41:06 +00:00
|
|
|
|
#!/BIN/SH
|
2019-02-14 04:45:39 +00:00
|
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
#
|
2019-03-01 01:42:33 +00:00
|
|
|
|
# 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-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
|
2019-02-14 04:45:39 +00:00
|
|
|
|
TEXT /MAKE/USR/SHARE/TESTS/ARGTEST
|