![]() |
AIX 5.2.0 and VSU 5.1.2 Test Suite installation
1. Install local test machine
o Install AIX 5.2.0 base operating System.
bos.adt 5.2.0.0
bos.net 5.2.0.0
bos.loc.adt.locale 5.2.0.0
vac.C 6.0.0.0
xlC.msg.en_US.rte 6.0.0.0
xlC.rte 6.0.0.0
The following AIX-specific procedures were used to configure a RISC
System/6000 for VSU 5.1.2.
The system used for test returned the following when uname -a was executed:
AIX unix16 2 5 0007A16C4C00
User IDs were added to /etc/passwd for the following test IDs:
vsx0::2000:2000::/tsuites/VSU/CAPI:/bin/ksh
vsx1::2001:2001::/tsuites/VSU/vsx1:/bin/ksh
vsx2::2002:2002::/tsuites/VSU/vsx2:/bin/ksh
Group IDs were added to /etc/group for the following test IDs:
vsxg0::2000:vsx0 vsxg24::2024:vsx0 vsxg41::2041:vsx0 vsxg58::2058:vsx0
vsxg1::2001:vsx1 vsxg25::2025:vsx0 vsxg42::2042:vsx0 vsxg59::2059:vsx0
vsxg2::2002:vsx2 vsxg26::2026:vsx0 vsxg43::2043:vsx0 vsxg60::2060:vsx0
vsxg10::2010:vsx0 vsxg27::2027:vsx0 vsxg44::2044:vsx0 vsxg61::2061:vsx0
vsxg11::2011:vsx0 vsxg28::2028:vsx0 vsxg45::2045:vsx0 vsxg62::2062:vsx0
vsxg12::2012:vsx0 vsxg29::2029:vsx0 vsxg46::2046:vsx0 vsxg63::2063:vsx0
vsxg13::2013:vsx0 vsxg30::2030:vsx0 vsxg47::2047:vsx0 vsxg64::2064:vsx0
vsxg14::2014:vsx0 vsxg31::2031:vsx0 vsxg48::2048:vsx0 vsxg65::2065:vsx0
vsxg15::2015:vsx0 vsxg32::2032:vsx0 vsxg49::2049:vsx0 vsxg66::2066:vsx0
vsxg16::2016:vsx0 vsxg33::2033:vsx0 vsxg50::2050:vsx0 vsxg67::2067:vsx0
vsxg17::2017:vsx0 vsxg34::2034:vsx0 vsxg51::2051:vsx0 vsxg68::2068:vsx0
vsxg18::2018:vsx0 vsxg35::2035:vsx0 vsxg52::2052:vsx0 vsxg69::2069:vsx0
vsxg19::2019:vsx0 vsxg36::2036:vsx0 vsxg53::2053:vsx0 vsxg70::2070:vsx0
vsxg20::2020:vsx0 vsxg37::2037:vsx0 vsxg54::2054:vsx0 vsxg71::2071:vsx0
vsxg21::2021:vsx0 vsxg38::2038:vsx0 vsxg55::2055:vsx0 vsxg72::2072:vsx0
vsxg22::2022:vsx0 vsxg39::2039:vsx0 vsxg56::2056:vsx0
vsxg23::2023:vsx0 vsxg40::2040:vsx0 vsxg57::2057:vsx0
The following was added to /etc/security/limits:
vsx0:
fsize = -1
Tetware 3.3g was installed in directory /tsuites/VSU. TET was configured by
executing the command configure -t lite. Then TET was build by executing the
commands: make ; make install.
VSXGEN 1.6 was unpacked in directory /tsuites/VSU/CAPI.
VSU 5.1.2 was installed in directory /tsuites/VSU/CAPI. A "chown -R
vsx0.vsxg0. /tsuites/VSU" was issued to ensure vsx0 user and vsxg0 group
ownership of all VSU5 files.
The test filesystem was /tsuites/testfs/vsu. The logical volume name was
/dev/lv03 and the following tetexec.cfg entry was updated to reflect this
information; VSU_FILE_SYS. The major and minor numbers for /dev/lv03 were 45
(0x002d) and 5 (0x0005).
The Large File enabled filesystem was /tsuites/testfs/LargeFileSystem. The
logical volume name was /dev/lv04 and the following tetexec.cfg entry was
updated to reflect this information; VSU_LFS_DIR. The major and minor
numbers for /dev/lv04 were 45 (0x002d) and 6 (Ox0006).
A "chown -R vsx0.vsxg0 /tsuites/testfs/vsu" was issued to
ensure vsx0 user and vsxg0 group ownership of all VSU5 files.
The loopback ports were supplied using an 8 port serial card. The two ports
were created using the following commands:
mkdev -c tty -t 'tty' -s 'rs232' -p 'sa2' -w '0' -a speed='38400'
mkdev -c tty -t 'tty' -s 'rs232' -p 'sa2' -w '1' -a speed='38400'
The tty devices created were /dev/tty0 and /dev/tty0 and the baud rate for
the tty devices was set to 38400. The entries VSX_TERMIOS_LOOP and
VSX_TERMIOS_TERMIOS in tetexec.cfg were updated to reflect this information.
These ports were connected with a null modem cable.
The login terminal was a lft device, /dev/lft0.
A character special device was created with the following command:
mknod /dev/vsu_ucd c 999 2
chown vsu0.vsug0 /dev/vsu_ucd
chmod a+rwx /dev/vsu_ucd
A FIFO was created in the /tsuite/VSX/vsx4 directory, using the command;
mkfifo FIFO. The entry for VSX_UNLOCKABLE_FILE was set to point to this
file. The FIFO was chown'ed to vsx0.vsxg0 and chmod'ed to mode 666.
A streams multiplexor device was created using the following commands:
mknod /dev/nuls0 c `ls -l /dev/nuls | cut -b 39-40` 0
chmod 777 /dev/nuls0
The following line was added to /etc/syslog.conf:
*.debug /tmp/user_log
Touch /tmp/user_log and set the permissions to 777.
The tests requiring network access were run across the IBM internal network.
The setup on the test machine required the following added to /etc/rc.net:
/usr/sbin/route add -net 9 9.3.77.1
/usr/sbin/route add -net 9.3 9.3.77.1
/usr/sbin/route delete default 9.3.77.1
The machine was rebooted to pickup the above changes.
The test id vsx0 was logged on.
After running config.sh, the SRC/vsxconfig.h file was edited. the line
reading "#define NSIG (-1)" was changed to "#define NSIG (64)".
The VSU libraries and utilities were then built by executing the command: su
-c make
VSU 5.1.2 was then built.
As root the following commands were executed to complete the streams setup:
no -o strmsgsz=1024
no -o somaxconn=5
strload -f streams_setup
where streams_setup contains the following:
m+ stdmod pass
m+ stdmod spass
The UNIX 98 libraries are involved by executing the commands:
export XPG_SUS_ENV=ON
export PSALLOC=early
export MALLOCTYPE=3.1
prior to issueing the tcc -bps scen.exec command.
The testsuite was then executed, using the command tcc -bps scen.exec.
The following is the complete VSU 5.1.2 configuration from the tetexec.cfg
file.
TEST_MODE = UNIX98
TEST_PACKAGES = VSU5.1.2B
VSXDIR = /tsuites/VSU/CAPI/SRC
VSX_DBUG_FLAGS =
VSX_DBUG_FILE = /tsuites/VSU/CAPI/results/dbug.out
VSX_NAME = VSXGen 1.6 / VSU 5.1.2
VSX_OPER = Bill Toth
VSX_ORG = AIX Development - IBM Austin
VSX_PATH =
VSX_SYS = AIX 5L, P-Series Servers
VSX_UID0 = 2000
VSX_UID1 = 2001
VSX_UID2 = 2002
VSX_GID0 = 2000
VSX_GID1 = 2001
VSX_GID2 = 2002
TET_SIG_IGN = 25
TET_SIG_LEAVE =
VSX_CC = /usr/bin/c89
VSX_CFLAGS =
VSX_LIBS = -lm -liconv
VSX_BLKDEV_FILE = /dev/vsu_ubd
VSX_CHRDEV_FILE = /dev/vsu_ucd
VSX_FCNTL_EDEADLK = Y
VSX_FCNTL_MAXLOCK = -1
VSX_INVALID_FCNTL_CMD = -1
VSX_INVALID_GID = unsup
VSX_INVALID_GNAME = nogroup
VSX_INVALID_PNAME = nouser
VSX_INVALID_UID = unsup
VSX_INVALID_WHENCE = -1
VSX_INVAL_SIG = -1
VSX_MOUNT_DEV = /dev/lv03
VSX_NOSPC_DEV = /dev/lv03
VSX_PURE_FILE = /tsuites/VSU/CAPI/TESTROOT/BIN/purefile
VSX_READDIR_EBADF = Y
VSX_ROFS = /dev/lv03
VSX_SIGSET_EINVAL = Y
VSX_SYS_OPEN_MAX = -1
VSX_TTYNAME = /dev/pts/0
VSX_TTYUSER = vsx0
VSX_ULIMIT_BLKS = 1
VSX_UNLOCKABLE_FILE = /tsuites/VSU/CAPI/FIFO
VSX_UNUSED_GID = 9999
VSX_UNUSED_UID = 9999
VSX_TERMIOS_TTY = /dev/tty0
VSX_TERMIOS_LOOP = /dev/tty1
VSX_MASTER_TTY =
VSX_MASTER_LOOP =
VSX_TERMIOS_ASYNC = Y
VSX_TERMIOS_BUFFERED = Y
VSX_TERMIOS_SPEED = B38400
VSX_MODEM_CONTROL = Y
VSX_START_STOP_CHNG = Y
VSX_TCGETPGRP_SUPPORTED = Y
VSX_TCSETPGRP_SUPPORTED = Y
VSX_UNSUPPORTED_CFLAG = none
VSX_SUPPORTED_CFLAG = B1200
PCTS_ECHOE = \b \b
PCTS_ECHOK = \025\n
VSU_MACHINE_PERFORMANCE = 2
VSU_IPPORT_RESERVED_VALUE = 1024
VSU_MASTER_PTY = /dev/ptc
VSU_FILE_NO_MMAP = /dev/slog
VSU_MMAP_UNSUPPORTED_PROT = 0
VSU_STREAM_DEV = /dev/slog
VSU_STREAMS_MAX_CONTROL_SIZE = 1025
VSU_STREAMS_MAX_DATA_SIZE = 1025
VSU_STREAM_MULTIPLEXOR = /dev/nuls0:/dev/echo
VSU_GR_ENT1 = system,0,root
VSU_GR_ENT2 = staff,1,invscout,ipsec
VSU_GR_ENT3 = bin,2,root,bin
VSU_GR_ENT_COUNT = 86
VSU_PW_ENT1 = root,0,0,/,/usr/bin/ksh
VSU_PW_ENT2 = daemon,1,1,/etc,
VSU_PW_ENT3 = bin,2,2,/bin,
VSU_PW_ENT_COUNT = 18
VSU_FMTMSG_CONSOLE = /dev/console
VSU_SYSLOG_CONSOLE = /dev/console
VSU_SYSLOG_CONSOLE_IS_FILE = 0
VSU_USER_SYSLOG_FILE = /tmp/user_log
VSU_USER_FACILITY_INDICATOR = User
VSU_DEBUG_SEVERITY_LEVEL_INDICATOR = Debug
VSU_INFO_SEVERITY_LEVEL_INDICATOR = Info
VSU_NOTICE_SEVERITY_LEVEL_INDICATOR = Notice
VSU_WARNING_SEVERITY_LEVEL_INDICATOR = Warning
VSU_ERR_SEVERITY_LEVEL_INDICATOR = Err
VSU_CRIT_SEVERITY_LEVEL_INDICATOR = Crit
VSU_ALERT_SEVERITY_LEVEL_INDICATOR = Alert
VSU_EMERG_SEVERITY_LEVEL_INDICATOR = Emerg
VSU_DATE_CMD = /bin/date '+%b %e %T'
VSU_ACCESS_PG_ACROSS_SESSION = 1
VSU_CORE_FILE = core
VSU_MAX_MAP_REGIONS_PER_PROC = 0
VSU_MINIMUM_POLL_GRANULARITY = 1
VSU_MINIMUM_SELECT_GRANULARITY = 1000
VSU_MINIMUM_UALARM_GRANULARITY = 1
VSU_MINIMUM_USLEEP_GRANULARITY = 1
VSU_PAGE_SIZE = 4096
VSU_PRIO_WHICH_INVALID = 99
VSU_READ_READS_DIRECTORY = 1
VSU_SET_OG_SYMLINK = 1
VSU_SETPGRP_CREATES_SESSION = 1
VSU_SIGNAL_GENERATING_CORE = SIGSEGV
VSU_SIGNAL_GENERATING_CORE = SIGSEGV
VSU_SETPRIORITY_HIGHEST_PRIORITY = -20
VSU_SETPRIORITY_LEAST_PRIORITY = 20
VSU_SUPPORTS_INFINITY = 1
VSU_TRUNCATE_SBITS_RESET = 0
VSU_VALLOC_RETURNS_UNIQUE_PTR = 0
VSU_WRITEV_FIFO_INTERLEAVING = 0
VSU_WRITEV_PIPE_INTERLEAVING = 0
VSU_WRITEV_SBITS_RESET = 0
VSU_SUPPORTS_BRK = 1
VSU_SUPPORTS_SBRK = 1
VSU_SUPPORTS_CHROOT = 1
VSU_SUPPORTS_GETDTABLESIZE = 1
VSU_SUPPORTS_GETPAGESIZE = 1
VSU_SUPPORTS_GETW = 1
VSU_SUPPORTS_PUTW = 1
VSU_SUPPORTS_RE_COMP = 1
VSU_SUPPORTS_RE_EXEC = 1
VSU_SUPPORTS_REGCMP = 1
VSU_SUPPORTS_REGEX = 1
VSU_SUPPORTS_SIGSTACK = 1
VSU_SUPPORTS_TTYSLOT = 1
VSU_SUPPORTS_VALLOC = 1
VSU_SUPPORTS_WAIT3 = 1
VSU_MAX_PROC_ADDR_SPACE_SIZE =
VSU_LFS_DIR = /tsuites/testfs/LargeFileSystem
VSU_EXEC_IP32_OFF32 = 1
VSU_EXEC_IP32_OFFBIG = 1
VSU_EXEC_LP64_OFF64 = 0
VSU_EXEC_LPBIG_OFFBIG = 0
VSU_SUPPORTS_AF_INET_STREAM = 1
VSU_SUPPORTS_AF_INET_DGRAM = 1
VSU_SUPPORTS_AF_INET_SEQPACKET = 0
VSU_SUPPORTS_AF_UNIX_STREAM = 1
VSU_SUPPORTS_AF_UNIX_DGRAM = 0
VSU_SUPPORTS_AF_UNIX_SEQPACKET = 0
VSU_HOST_NAME = unix16.aixpclab.austin.ibm.com
VSU_HOST_ADDR = 9.3.77.86
VSU_HOST_ENTRY = 9.3.77.86,unix16.aixpclab.austin.ibm.com
VSU_HOST_REMOTE_ADDR = 9.3.77.86
VSU_OTHER_HOST_ADDR = 9.3.77.63
VSU_OTHER_HOST_NAME = unix3.aixpclab.austin.ibm.com
VSU_HOST1_ENTRY = 127.0.0.1,loopback,localhost
VSU_HOST2_ENTRY = 9.3.77.86,unix16.aixpclab.austin.ibm.com
VSU_HOST_CNT = 3
VSU_NET1_ENTRY = ibm,9
VSU_NET2_ENTRY = austin,2307
VSU_NET_CNT = 3
VSU_PROTO1_ENTRY = ip,0,IP
VSU_PROTO2_ENTRY = icmp,1,ICMP
VSU_PROTO_CNT = 5
VSU_SERV1_ENTRY = tcpmux,1/tcp
VSU_SERV2_ENTRY = tcpmux,1/udp
VSU_SERV_CNT = 677
VSU_ADDRESS_INVALID = 1.0.0.0
VSU_CONNECT_TIMEOUT = 75
VSU_AF_INVALID = 69
VSU_PROTO_FOR_AF_INVALID = 2,55
VSU_PROTO_INVALID = 55
VSU_ST_FOR_PROTO_INVALID = 2,1,17
VSU_LISTEN_LIMIT = 5
VSU_XCURSES_LOCALE = xcurses
VSU_NO_BASE_COLOR = 0
VSU_DEBUG_ENTER = 0
VSU_DEBUG_EXIT = 0
VSU_DEBUG = 0
TET_EXEC_IN_PLACE = True
TET_OUTPUT_CAPTURE = False
TET_API_COMPLIANT = True
TET_PASS_TC_NAME = False
TET_VERSION = 3.3-lite
Copyright © 2002 International Business Machines Corporation.
All Rights Reserved.
OSF/1, Motif, UNIX, and the "X" device are registered trademarks in the U.S. and other countries, and IT DialTone and The Open Group are trademarks of The Open Group.