Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jdluhos:lsb-tests
lsb-runtime-test-official
lsb-test-core-no-expect2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lsb-test-core-no-expect2.patch of Package lsb-runtime-test-official
--- ./tet/test_sets/SRC/subsets/vsthlite/config_sub.sh.expect2 2011-03-05 09:26:30.000000000 -0500 +++ ./tet/test_sets/SRC/subsets/vsthlite/config_sub.sh 2011-03-08 19:23:26.000000000 -0500 @@ -10,6 +10,9 @@ ASK_VSTH_PTHREAD_LIB=Y ASK_VSTH_SYSLIBS=Y ASK_NOSPC_DEV=Y +VSTH_PTHREAD_LIB="-lpthread" + +if false;then if test -z "VSTH_PTHREAD_LIB" then default="-lpthread" @@ -49,7 +52,11 @@ Which library is your pthreads library [ ;; esac done +fi + +VSTH_SYSLIBS="" +if false;then if test -z "VSTH_SYSLIBS" then default="" @@ -79,5 +86,5 @@ Which other libraries are needed to buil ;; esac done - +fi --- ./tet/test_sets/SRC/subsets/lsb-os/config_sub-dynl.sh.expect2 2011-03-05 09:26:28.000000000 -0500 +++ ./tet/test_sets/SRC/subsets/lsb-os/config_sub-dynl.sh 2011-03-08 19:23:26.000000000 -0500 @@ -2,7 +2,8 @@ # SCCS: @(#)SRC/subsets/dynl/config_sub.sh Rel 5.1.4 (11/19/97) # Ask for DYNL_DEPOBJ_SUPPORTED - +DYNL_DEPOBJ_SUPPORTED="y" +if false;then if test -z "$DYNL_DEPOBJ_SUPPORTED" then default="y" @@ -24,9 +25,12 @@ Are dependencies between shared objects ;; esac done +fi # Ask for DYNL_NODEFS_SUPPORTED +DYNL_NODEFS_SUPPORTED="y" +if false;then if test -z "$DYNL_NODEFS_SUPPORTED" then default="y" @@ -48,9 +52,14 @@ Are shared objects containing unresolved ;; esac done +fi # Ask for DYNL_COPTS and DYNL_LDFLAGS +DYNL_COPTS="-ansi -fPIC" +DYNL_LDFLAGS="-Wl,-E" +DYNL_LIBDL="-ldl" +if false;then if test -z "$DYNL_COPTS" then if test -z "$COPTS" @@ -156,6 +165,7 @@ Enter either -l<name>, a full pathname, ;; esac done +fi # Create template dynl_mkso.sh script for user to edit. # Don't overwrite it if it already exists. --- ./tet/test_sets/SRC/subsets/lsb-os/config_sub-vsrt.sh.expect2 2011-03-05 09:26:28.000000000 -0500 +++ ./tet/test_sets/SRC/subsets/lsb-os/config_sub-vsrt.sh 2011-03-08 19:23:26.000000000 -0500 @@ -65,7 +65,8 @@ # # Ask for VSRT_LDFLAGS - +VSRT_LDFLAGS="" +if false;then if test -z "$VSRT_LDFLAGS" then if test -z "$LDFLAGS" @@ -92,6 +93,7 @@ none) VSRT_LDFLAGS="$ans" ;; esac +fi # Ask for VSRT_RT_LIB and VSRT_LIBS @@ -109,6 +111,7 @@ case $VSRT_RT_LIB in ;; esac +if false;then if test -z "$VSRT_RT_LIB" then question=" @@ -190,7 +193,9 @@ case $VSRT_LIBS in fi ;; esac +fi +if false; then if test -z "$VSRT_LIBS" then question=" @@ -259,6 +264,7 @@ Name the additional libraries needed, in done VSRT_LIBS="$VSRT_LIBSTD" fi +fi # set ASK_* variables for optional config parameters --- ./tet/test_sets/SRC/install/scripts/config.sh.expect2 2011-03-05 09:26:21.000000000 -0500 +++ ./tet/test_sets/SRC/install/scripts/config.sh 2011-03-08 19:23:26.000000000 -0500 @@ -125,7 +125,9 @@ echo "*** The VSX source directory is ro " TGTDIR="$VSXDIR" +PARAMS="$TGTDIR/vsxparams" +if false;then while : do echo "** List of Available Parameter Files ** @@ -153,6 +155,8 @@ in this installation procedure [none]? " fi fi done +fi + SAVEVSXD="$VSXDIR" SAVEPATH="$PATH" echo "Setting defaults from: $PARAMS" @@ -272,7 +276,8 @@ do done # Ask for the test mode - +TEST_MODE="UNIX98" +if false;then if test -z "$TEST_MODE" then default=unknown @@ -306,6 +311,7 @@ Which test mode do you require ;; esac done +fi # Set DEFINES based on test mode @@ -374,6 +380,8 @@ done # Ask for subsets (if more than one supports the test mode) +SUBSETS="base init li18nux2000-level1 lsb-fhs lsb-os lsb-pam lsb-usersgroups lsb_interpreter lsb_release profile.d vsthlite" +if false;then case "$subsetlist" in "") # Should not happen - mode would not have been offered if no @@ -429,9 +437,16 @@ list including one or more of: $subsetli SUBSETS=$subsetlist ;; esac +fi # Ask for common parameter values +VSX_OPER="Automated" +VSX_ORG="NONE" +VSX_SYS="UNKNOWN" +TET_EXECUTE="$HOME/TESTROOT" +SPEED=5 +if false;then if test -z "$VSX_OPER" then default="Unknown" @@ -521,7 +536,10 @@ How fast is your machine (1=very fast, 1 ;; esac done +fi +INCDIRS="/usr/include" +if false;then if test -z "$INCDIRS" then INCDIRS="/usr/include" @@ -571,8 +589,11 @@ Name the system include directories, in fi done fi +fi +CC="/usr/bin/cc" +if false;then if test -z "$CC" then default=`mywhere c89` @@ -611,7 +632,11 @@ What is your C compiler called$warntxt [ break fi done +fi + +COPTS="-ansi" +if false;then if test -z "$COPTS" then default="none" @@ -624,7 +649,11 @@ if test ! -z "$ans" then COPTS="$ans" fi +fi + +LDFLAGS="" +if false;then if test -z "$LDFLAGS" then default="none" @@ -637,6 +666,7 @@ if test ! -z "$ans" then LDFLAGS="$ans" fi +fi echo " Searching for archive maintenance tools ..." @@ -815,6 +845,7 @@ case $SYSLIBS in ;; esac +if false;then if test -z "$SYSLIBS" then question=" @@ -883,6 +914,7 @@ Name the additional libraries needed, in else LIBSTD="$SYSLIBS" fi +fi # Only ask for XNFS_CLIENT, XNFS_SERVER and SERVER_TET_ROOT if testing XNFS @@ -1059,7 +1091,12 @@ do done # Ask for optional parameters if needed by one or more subsets +THR_COPTS="" +CFPURE="" +MLIB="-lm" +NOSPC_DEV="/dev/loop0" +if false;then case "$REALLY_ASK_THR_COPTS" in Y) if test -z "$THR_COPTS" @@ -1274,6 +1311,7 @@ Is your RPC library TLI-based or socket- esac ;; esac +fi echo " Producing a new parameter file in $TGTDIR/vsxparams" --- ./tet/test_sets/scripts/common/psl_setup.sh.expect2 2011-03-05 09:26:21.000000000 -0500 +++ ./tet/test_sets/scripts/common/psl_setup.sh 2011-03-08 19:23:26.000000000 -0500 @@ -22,7 +22,7 @@ # Adds new scripts # # - +exit 0 if test ! -f scripts/locks/psl_setup then touch scripts/locks/psl_setup --- ./tet/test_sets/setup_testsets.sh.expect2 2011-03-08 19:23:26.000000000 -0500 +++ ./tet/test_sets/setup_testsets.sh 2011-03-08 19:23:26.000000000 -0500 @@ -131,12 +131,13 @@ fi #--------------------------------------------------------------------- # Pre Configure testset scripts -run_testset_config_script pre-config +#run_testset_config_script pre-config ###################################################################### # Run config script printf "Run config.sh ..? [y] " -read cmd +#read cmd +cmd="y" if [ "$cmd" = "Y" -o "$cmd" = "y" -o "$cmd" = "" ] ; then config.sh fi @@ -178,12 +179,13 @@ export VSX_OPER VSX_ORG VSX_SYS #--------------------------------------------------------------------- # Post build tetset scripts -run_testset_config_script post-build +#run_testset_config_script post-build ###################################################################### # Parameterisation printf "Install tetexec.cfg ..? [y] " -read cmd +#read cmd +cmd="n" if [ "$cmd" = "Y" -o "$cmd" = "y" -o "$cmd" = "" ] ; then echo "Parameterizing the $TET_EXECUTE/tetexec.cfg file" @@ -214,7 +216,8 @@ fi ###################################################################### # Build & Execute testsets printf "Build and Execute testsets ..? [y]" -read cmd +#read cmd +cmd="n" if [ "$cmd" = "Y" -o "$cmd" = "y" -o "$cmd" = "" ] ; then sh run_testsets.sh fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor