AIX 5L for POWER V5.2.0 dated 8-2004 and VSC 5.2.4A 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 bos.terminfo.svprint.data 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 o Install AIX V 5.2 8-2004 update. o Install AIX V 5.2 APARS: IY59610, IY60869, IY61405 o Install VAC 6.0.0.9 update. o create man keyword catalog using the command; catman -w o Create printer queue only, the tests do not need an actual physical printer. + Smit printer + Select "Print Spooling" + Select "Add a Print Queue" + Select "other User Defined Backend" + Fill in the following: * Name of QUEUE to add [lp0] * Name of QUEUE DEVICE to add [lp0] * BACKEND PROGRAM pathname [/usr/lib/lpd/piobe] o configure TCPIP using smit tcpip to setup hostname and address, where the hostname is "unix19". o set up UUCP + Edit /etc/uucp/Systems file, add the following lines. unix19 Any TCP,t - - in:--in: nuucp word: passw0rd <==(remote system) unix18 Any TCP,t - - in:--in: nuucp word: passw0rd <==(local system) + Edit /etc/uucp/Permissions file, add the following lines. MACHINE=unix18:unix19 REQUEST=yes READ=/ WRITE=/ COMMANDS=ALL LOGNAME=nuucp:vsc0 REQUEST=yes SENDFILES=yes READ=/ WRITE=/ + Edit /etc/uucp/Devices file, make sure the following line is uncommented. TCP - - - TCP + Edit /etc/uucp/Dialers file, make sure the following line is uncommented. TCP + Edit /etc/inetd.conf file, make sure the following line is uncommented. uucp stream tcp nowait root /usr/sbin/uucpd uucpd + Edit /var/spool/cron/crontabs/uucp, add the following line. * * * * * /bin/bsh -c "/usr/lib/uucp/uudemon.hour > /dev/null" + Set nuucp passwd to "passw0rd". Edit /etc/security/passwd remove the following line: flags = ADMCHG + Reboot the machine. 2. Install remote test machine o Install AIX 5.2.0 base operating System. o Install the following AIX 5.2.0 fileset. bos.net 5.2.0.0 o Install AIX V 5.2 8-2004 update. o configure TCPIP using smit tcpip to setup hostname and address, where the hostname is "unix18". o set up UUCP + Edit /etc/uucp/Systems file, add the following lines. unix18 Any TCP,t - - in:--in: nuucp word: passw0rd <==(local system) unix19 Any TCP,t - - in:--in: nuucp word: passw0rd <==(remote system) + Edit /etc/uucp/Permissions file, add the following lines. MACHINE=unix18:unix19 REQUEST=yes READ=/ WRITE=/ COMMANDS=ALL LOGNAME=nuucp:vsc0 REQUEST=yes SENDFILES=yes READ=/ WRITE=/ + Edit /etc/uucp/Devices file, make sure the following line is uncommented. TCP - - - TCP + Edit /etc/uucp/Dialers file, make sure the following line is uncommented. TCP + Edit /etc/inetd.conf file, make sure the following line is uncommented. uucp stream tcp nowait root /usr/sbin/uucpd uucpd + Edit /var/spool/cron/crontabs/uucp, add the following line. * * * * * /bin/bsh -c "/usr/lib/uucp/uudemon.hour > /dev/null" + Set nuucp passwd to "passw0rd". Edit /etc/security/passwd remove the following line: flags = ADMCHG + Reboot the machine. 3. Install Testsuite on local system o Create filesystems with following parameters /tsuites/VSC5.2.4 327680 blocks automount=yes /tsuites/testfs/vsc_rw 8192 blocks automount=yes /tsuites/testfs/vsc_ro 8192 blocks automount=yes /tsuites/testfs/LargeFileSystem 262144 automount=yes bf=true o set up link /tsuites/VSC-->/tsuites/VSC5.2.4 o setup passwd and group files + add the following to the passwd file vsc0:!:3000:3000::/tsuites/VSC/vsc:/usr/bin/ksh vsc1:!:3001:3001::/tsuites/VSC/vsc:/usr/bin/ksh vsc2:!:3002:3002::/tsuites/VSC/vsc:/usr/bin/ksh vsc3:!:3003:3003::/tsuites/VSC/vsc:/usr/bin/ksh vsc4:!:3004:3004::/tsuites/VSC/vsc:/usr/bin/ksh + add the following to the group file vscg0:!:3000:vsc0 vscg1:!:3001:vsc1 vscg2:!:3002:vsc2 vscg3:!:3003:vsc3 vscg4:!:3004:vsc0,vsc4 + add the following to the /etc/security/limits file vsx0 fize = -1 o mount all filesystems o Chown vsc0.vsg0 all file systems o Chmod u-s all file systems, chmod 777 all filesystems o create block and char devices mknod /dev/vsc_ucd c 999 0 mknod /dev/vsc_ubd b 999 1 chown vsc0.vscg0 /dev/vsc_* chmod 777 /dev/vsc_* o Unpack test suite to /tsuites/VSC5.2.4 o Unpack Patch A to /tsuites/VSC5.2.4 o login as vsc0 o create the defines.mk by running; sh buildconf Answer the following: Do you want to configure VSC to test conformance to (1) XCU5/UNIX98 [answer 'x5'] (2) XPG4 [answer 'x4'] (3) POSIX.2 [answer 'p'] (4) POSIX.2001 [answer 'p1'] (5) UNIX2003 [answer 'u3'] Configuration type [x5/x4/p/p1/u3]: u3 What is the name of the C compiler to be used when building the VSC C source code other than tcl and expect ? The default is 'c99': /usr/vac/bin/c99 What options should be used when compiling the VSC C source code other than the Implementation-specific utilities, tcl and expect ? The default is '-D_XOPEN_SOURCE=600': Source code for the Implementation-specific utilities resides in the directory Src/ImplSpec. It includes Largefile.c which is the source for a utility that creates large files, and so might need to be built with special compiler options. What options should be used when compiling the C source code for the Implementation-specific utilities ? The default is '-D_XOPEN_SOURCE=600': What is the name of the C compiler to be used when building the tcl and expect source code ? The default is '/usr/vac/bin/c99': /usr/vac/bin/cc o build the support tools by running; make o replace Bin/expect with a version built on VSC 5.1.6 o replace the Src/Interact/itcl/library directory contents with the files from VSC 5.1.6 o configure tetexec.cfg by running; sh configure the following question is answered as shown: Do you want to configure VSC to test conformance to (1) XCU5/UNIX98 [answer 'x5'] (2) XPG4 [answer 'x4'] (3) POSIX.2 [answer 'p'] (4) POSIX.2001 [answer 'p1'] (5) UNIX2003 [answer 'u3'] (6) FIPS 189 [not yet supported] Configuration type [x5/x4/p/p1/u3]: u3 tetexec.cfg file contents are below. o Build the Test Suite by using tcc -bp vsc all 4. AIX paging space allocation method was set to early allocation in order to comply with the UNIX malloc specification. This is done by the executing the following command prior to issuing the scen.exec command: export PSALLOC=early. The UNIX libraries are involved by executing the command; export XPG_SUS_ENV=ON prior to issuing the tcc command. Run test suites by using tcc -ep vsc all The following is the complete VSC 5.2.4A configuration from the journal file. TET_OUTPUT_CAPTURE=False TET_EXEC_TOOL=sh TET_DONT_REPORT_MISSING_ICS=True PCTS_NAME_MAX=511 PCTS_PATH_MAX=2047 PCTS_LINK_MAX=255 VSC_WINK=2 VSC_NAP=10 VSC_SNOOZE=30 VSC_EXPECT_SUPPORT=TRUE VSC_ESC=033 VSC_END_OF_FILE=004 VSC_BS=010 VSC_KILL=025 VSC_NL=012 VSC_LNEXT=026 VSC_STOP=032 VSC_REDRAW=014 VSC_INTR=003 VSC_CTLW=027 VSC_CTLP=020 VSC_LARGEFILE_OPTS= VSC_PAX_BIG_FILE_SUPPORT=TRUE VSC_POSIX_VERSION=200112 VSC_XOPEN_VERSION=600 VSC_CC=c99 VSC_OPER=William Toth VSC_ORG=OSCC Conformance Lab - IBM Austin VSC_ADDR1=IBM Austin VSC_ADDR2=Server and Technology Division VSC_ADDR3=11501 Burnet Road VSC_ADDR4=Austin, TX 78758 VSC_ADDR5= VSC_SYS=AIX 5L for POWER - V5.2 VSC_TESTER=vsc0 VSC_TESTER_UID=3000 VSC_GRP_NAME_1=vscg0 VSC_GRP_NAME_2=vscg4 VSC_NON_MEMBER_GRP=vscg1 VSC_NON_MEMBER_GID=3001 VSC_NAMELESS_UID=9999 VSC_NAMELESS_GID=9999 VSC_GRP_ID_1=3000 VSC_GRP_ID_2=3004 POSIX1_SUPPORT=TRUE VSC_XPG_SW_DEV=undefined VSC_ILP32_OFF32_SUPPORT=TRUE VSC_ILP32_OFFBIG_SUPPORT=TRUE VSC_LP64_OFF64_SUPPORT=TRUE VSC_LPBIG_OFFBIG_SUPPORT=TRUE VSC_DEFAULT_C89_PROG_ENV=ILP32_OFF32 VSC_XOPEN_RT=undefined VSC_XOPEN_RTT=undefined VSC_XPG_FORT=undefined VSC_XPG_LEGACY=undefined VSC_DATE_CAN_SET=TRUE VSC_LOCALEDEF_OUTPUT_FTYPE=file VSC_LOCALE_NAME=sample VSC_CHARMAP_FILE=/tsuites/VSC/AIX_config/nls/sample.char VSC_LOCALEDEF_FILE=/tsuites/VSC/AIX_config/nls/sample.src VSC_TRAP_NUMERIC_SIGS=TRUE VSC_IPC_KEY=0x0A000000 VSC_OTHER_UID=3001 VSC_OTHER_GID=3001 VSC_UID0=3001 VSC_UID1=3002 VSC_UID2=3003 VSC_GID0=3001 VSC_GID1=3002 VSC_GID2=3003 VSC_OTHER_USER_NAME=vsc4 VSC_OTHER_USER_UID=3004 VSC_ASA_1= VSC_ASA_P= VSC_DOT_O_FILE=/tsuites/VSC/vsc/Lib/Data/POSIX/tcm.o VSC_EXE_FILE=/tsuites/VSC/vsc/Lib/Data/POSIX/tcc VSC_FORT77_DLD=none VSC_TALKNAME=vsc4 VSC_PS_SUPPORT=TRUE VSC_PRINTF_FLOAT_SUPPORT=TRUE VSC_TERMIOS_SUPPORT=TRUE VSC_BYTE_SIZE=8 VSC_LPDEST=lp0 VSC_LPNODEST=bill VSC_LPSTAT= VSC_CANCEL= VSC_UULOG=undefined VSC_UUNAME=undefined VSC_UUPICK=undefined VSC_UUTO=undefined VSC_LP_MFLAG_SUPPORT=TRUE VSC_LP_OFLAG_SUPPORT=TRUE VSC_LP_TFLAG_SUPPORT=TRUE VSC_LP_WFLAG_SUPPORT=TRUE VSC_UUX_JFLAG_SUPPORT=TRUE VSC_UUSTAT_QFLAG_SUPPORT=TRUE VSC_UUSTAT_RFLAG_SUPPORT=TRUE VSC_MAIL_USER=vsc0 VSC_MAIL_FILE=vsc0 VSC_CHRDEV=YES VSC_BLKDEV=YES VSC_TEST_SUITE_FS=/dev/lv12 VSC_TEST_SUITE_MOUNT_POINT=/tsuites/VSC5.2.4 VSC_OTHER_FS=/tsuites/testfs/vsc_rw VSC_RO_FS=/tsuites/testfs/vsc_ro VSC_LFS_MAX_FILE_SIZE=2097151 VSC_LFS_FS=/tsuites/testfs/LargeFileSystem VSC_CHR_DEV_FILE=/dev/vsc_ucd VSC_BLK_DEV_FILE=/dev/vsc_ubd VSC_STREAM_DEV=/dev/slog VSC_SXAF=Y VSC_MV_X_FS=TRUE VSC_LN_X_FS=undefined VSC_LINK_DIR_SUPPORT=TRUE VSC_WPERM_TO_MV_DIR=undefined VSC_NO_MV_FILE_IN_USE=undefined VSC_IDS_ON_SYMLINKS=TRUE VSC_NO_SYMLINKS_DIR=undefined VSC_LINK_MAX=32767 VSC_DU_SZ=4096 VSC_ICONV_FROM=ISO8859-1 VSC_ICONV_TO=uucode VSC_ICONV_FROMFILE=/tsuites/VSC/AIX_config/README _L_PUBDIR=/var/spool/uucppublic _L_SYS=unix19 _R_PUBDIR=/var/spool/uucppublic _R_SYS=unix18 _R_SYS2=unix19 M_SPOOL_FILE=/usr/spool/mail/vsc0 VSC_UUCP_CFLAG_SUPPORT=TRUE VSC_UUCP_FFLAG_SUPPORT=TRUE VSC_UUCP_JFLAG_SUPPORT=TRUE VSC_UUCP_NFLAG_SUPPORT=TRUE VSC_UUCP_RFLAG_SUPPORT=TRUE VSC_UUCP_NOSUCH_SYS=nOsUcH_sYsTeM VSC_UUCP_XFER_DELAY=75 VSC_SPACE=SPACE TET_API_COMPLIANT=True TET_PASS_TC_NAME=False
Copyright © 2004 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.