My test results show verity working.
Machine:
[root@shockwave root]# more /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[root@shockwave root]# uname -a
Linux shockwave 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 i686 unknown
[root@shockwave root]# rpm --query glibc
glibc-2.2.5-34
[root@shockwave root]# rpm --query gcc
gcc-2.96-110
[root@shockwave root]# rpm --query libc
package libc is not installed
[root@shockwave root]# rpm --query libstdc++
libstdc++-2.96-110
[root@shockwave root]# rpm --query compat-libstdc++
compat-libstdc++-6.2-2.9.0.16
[root@shockwave root]# rpm --query compat-glibc
package compat-glibc is not installed
Example template:
[Please note, the below code will more than likely be line-wrapped, email me privately
for the template]
----- BEGIN VERITY TEST TEMPLATE -----
<!--- Start of Header --->
<html>
<head><title>aa-init-verity-collections-03</title></head>
<body>
<!--- S T A R T O F T E S T O N E --->
<!--- Testing the creation of the resident verity collections. --->
<cf_qatest id="T01" debug="no">
<cftry>
<!--- Determine which operating system is being used and then use the appropriate
verity path for the collections. If the system is a Unix system then the translation
of
path = #veritydirectory# is path="/opt/coldfusion/verity/collections/"
If the system is a Windows system then the translation of
path = #veritydirectory# is path = "C:\CFusion\Verity\Collections\".
#veritydirectory# has been set up in the Application.cfm file.
In the Application.cfm file the variable theslash is defined. For Unix systems
theslash= "/", and for Windows systems theslash = "\".
In the Application.cfm file the variable cfdocs_path is defined. For Windows systems
the following set up is used:
<cfset cfdocs_path = "c:\inetpub\wwwroot\cfdocs">
For Unix systems the following set up is used:
<cfset cfdocs_path = "/docroot/cfdocs">
--->
<!--- Determine which server is being used. If ColdFusion is being used, the
collections will be appended with _cf. If Neo is being used the collections will be
appended with _neo. --->
<cfparam name="localver" default="5, 0, 0, 0">
<cflock scope=server timeout="20">
<cfset localver = server.coldfusion.productversion>
</cflock>
<cfif localver NEQ "5, 0, 0, 0">
<!--- <cfoutput>Version is not 5,0,0,0. It is
#localver#<br></cfoutput> --->
<cfset ver = "_neo">
<cfelse>
<!--- <cfoutput>Version is #localver#<br></cfoutput> --->
<cfset ver = "_cf">
</cfif>
<!--- Create the collection for cfdocs_collection*. Set the path attribute with the
cfdocs_path variable. --->
<!--- If collection exists, delete it then create it. If collection does not exist,
create it.
Once the collection is made, then refresh it and indicate the CFDOCS directory as the
path.
--->
<!--- Set up a variable, MyCollection, to be displayed in the cfcatch. --->
<cfset MyCollection = "test_7">
<CFIF #FileExists(#veritydirectory# & "cfdocs_collection" & #ver# & #theslash#
& "custom" & #theslash# & "style" & #theslash# & "style.ddd")#>
<!--- <cfoutput>cfdocs_collection style.ddd file
exists.<br></cfoutput> --->
<cflock name="verity" timeout="60">
<CFCOLLECTION ACTION="DELETE"
COLLECTION="cfdocs_collection#ver#">
<!--- <cfoutput>cfdocs_collection collection
deleted.<br></cfoutput> --->
</cflock>
<cflock name="verity" timeout="60">
<cfcollection action="CREATE"
collection="cfdocs_collection#ver#"
language="English" path=#veritydirectory#>
<cfoutput>cfdocs_collection created.<br></cfoutput>
</cflock>
<cfelse>
<cflock name="verity" timeout="60">
<cfcollection action="CREATE"
collection="cfdocs_collection#ver#"
language="English" path=#veritydirectory#>
<cfoutput>cfdocs_collection created.<br></cfoutput>
</cflock>
</cfif>
<!--- Now populate the collection using cfindex action = "UPDATE" --->
<cfindex action="UPDATE" collection="cfdocs_collection#ver#"
key="#File_Path_NonText#" type="PATH" recurse="Yes" urlpath="#nontexturlpath#">
<cfoutput>Done setting up test collections.</cfoutput>
<cfcatch>
<cfoutput>#MyCollection#<br></cfoutput>
<cfoutput>#cfcatch.type#<br>#cfcatch.message#<br>#cfcatch.detail#<br></cfoutput>
</cfcatch>
</cftry>
<cf_expectedresults>
<h3>id= aa-init-verity-collections-02-T01</h3>
cfdocs_collection created.<br>
Done setting up test collections.
</cf_expectedresults>
</cf_qatest>
<!--- E N D O F T E S T O N E --->
<cf_qaTestEnd>
</body>
</html>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.