head	1.7;
access;
symbols
	rpm-4_4_8-release:1.4.2.2
	rpm-4_4_7-release:1.4.2.2
	db-4_5_20:1.7
	rpm-4_4_6-release:1.4.2.1
	rpm-4_4_5-release:1.4.2.1
	db-4_4_20:1.6
	rpm-4_4_4-release:1.4.2.1
	db-4_4_16:1.6
	rpm-4_4_3-release:1.4.2.1
	db-4_4_11:1.6
	db-4_3_29:1.4
	jbj_before_tklcpatches:1.4
	rpm-4_4_2-release:1.4
	pjones-sparse-experiment:1.5.0.2
	db-4_4_4:1.5
	rpm-4_4_1-release:1.4
	db-4_3_27:1.4
	rpm-4_4-release:1.4
	rpm-4_4:1.4.0.2
	db-4_3_21:1.4
	db-4_3_14:1.4
	db-4_2_52:1.3
	rpm-4_3_1-start:1.3
	rpm-4_3:1.3.0.2
	rpm-4_2_1-release:1.2
	rpm-4_1_1-release:1.2
	rpm-4_2-release:1.2
	rpm-4_2:1.2.0.2
	postmerge-db-4_1_24-release:1.2
	premerge-db-4_1_24-release:1.2
	db-4_1_24-release:1.1.1.2
	pre-db-4_1_24-release:1.1.1.2
	rpm-4_1-release:1.1
	postmerge-db-4_1_17:1.1
	premerge-db-4_1_17:1.1
	db-4_1_17:1.1.1.2
	pre-db-4_1_17:1.1.1.1
	rpm-4_1:1.1.0.4
	rpm-4_0_4-release:1.1.2.1
	jbj-before-beecrypt:1.1.2.1
	rpm-4_0:1.1.0.2
	postmerge-db-4_0_14:1.1.1.1
	premerge-db-4_0_14:1.1.1.1
	db-4_0_14:1.1.1.1
	pre-db-4_0_14:1.1.1.1
	postmerge-db-4_0_7:1.1.1.1
	premerge-db-4_0_7:1.1.1.1
	db-4_0_7:1.1.1.1
	db-3_2_9-vendor:1.1.1;
locks; strict;
comment	@# @;
expand	@o@;


1.7
date	2006.10.01.20.18.54;	author jbj;	state Exp;
branches;
next	1.6;

1.6
date	2005.10.28.17.13.18;	author jbj;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.21.15.53.58;	author jbj;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.16.01.31.55;	author jbj;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2003.12.15.21.42.42;	author jbj;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.14.19.24.47;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.15.03.47.23;	author jbj;	state Exp;
branches
	1.1.1.1
	1.1.2.1;
next	;

1.1.1.1
date	2001.10.15.03.47.23;	author jbj;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2002.08.14.16.31.56;	author jbj;	state Exp;
branches;
next	;

1.1.2.1
date	2002.01.08.04.07.17;	author jbj;	state Exp;
branches;
next	;

1.4.2.1
date	2005.10.28.18.44.32;	author jbj;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2006.10.01.22.29.21;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Update to db-4.5.20.
@
text
@#!/bin/sh -
#	$Id: s_test,v 12.5 2006/07/07 19:05:59 bostic Exp $
#
# Build the Tcl test files.

msg1="# Automatically built by dist/s_test; may require local editing."
msg2="# Automatically built by dist/s_test; may require local editing."

t=/tmp/__t
trap 'rm -f $t; exit 0' 0 1 2 3 13 15

. RELEASE

(echo "$msg1"					&& \
 echo ""					&& \
 echo "set tclsh_path @@TCL_TCLSH@@"		&& \
 echo "set tcllib .libs/libdb_tcl-@@DB_VERSION_MAJOR@@.@@DB_VERSION_MINOR@@@@LIBTSO_MODSUFFIX@@" && \
 echo ""					&& \
 echo "set rpc_server localhost"	 	&& \
 echo "set rpc_path ."			 	&& \
 echo "set rpc_testdir \$rpc_path/TESTDIR"	&& \
 echo ""					&& \
 echo "set src_root @@srcdir@@/.."		&& \
 echo "set test_path @@srcdir@@/../test"		&& \
 echo "set je_root @@srcdir@@/../../je"		&& \
 echo ""					&& \
 echo "global testdir"				&& \
 echo "set testdir ./TESTDIR"			&& \
 echo ""					&& \
 echo "global dict"				&& \
 echo "global util_path"			&& \
 echo ""					&& \
 echo "global is_freebsd_test"			&& \
 echo "global is_hp_test"			&& \
 echo "global is_linux_test"			&& \
 echo "global is_qnx_test"			&& \
 echo "global is_sunos_test"			&& \
 echo "global is_windows_test"			&& \
 echo "global is_windows9x_test"		&& \
 echo ""					&& \
 echo "global valid_methods"			&& \
 echo "global checking_valid_methods"		&& \
 echo "global test_recopts"			&& \
 echo ""					&& \
 echo "set KILL \"@@KILL@@\"") > $t

f=../test/include.tcl
cmp $t $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f)

(echo "$msg1"					&& \
 echo ""					&& \
 echo "set tclsh_path SET_YOUR_TCLSH_PATH"	&& \
 echo "set tcllib ./Debug/libdb_tcl${DB_VERSION_MAJOR}${DB_VERSION_MINOR}d.dll" && \
 echo ""					&& \
 echo "set src_root .."				&& \
 echo "set test_path ../test"			&& \
 echo "set je_root ../../je"			&& \
 echo ""					&& \
 echo "global testdir"				&& \
 echo "set testdir ./TESTDIR"			&& \
 echo ""					&& \
 echo "global dict"				&& \
 echo "global util_path"			&& \
 echo ""					&& \
 echo "global is_freebsd_test"			&& \
 echo "global is_hp_test"			&& \
 echo "global is_linux_test"			&& \
 echo "global is_qnx_test"			&& \
 echo "global is_sunos_test"			&& \
 echo "global is_windows_test"			&& \
 echo "global is_windows9x_test"		&& \
 echo ""					&& \
 echo "global valid_methods"			&& \
 echo "global checking_valid_methods"		&& \
 echo "global test_recopts"			&& \
 echo ""					&& \
 echo "set KILL ./dbkill.exe") > $t

f=../build_windows/include.tcl
cmp $t $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f)

# Build the test directory TESTS file.
(echo $msg2;
cat `egrep -l '^#[	 ][	 ]*TEST' ../test/*.tcl` |
sed -e '/^#[	 ][	 ]*TEST/!{' \
    -e 's/.*//' \
    -e '}' |
cat -s |
sed -e '/TEST/{' \
    -e 's/^#[	 ][	 ]*TEST[	 ]*//' \
    -e 's/^	//' \
    -e 'H' \
    -e 'd' \
    -e '}' \
    -e 's/.*//' \
    -e x \
    -e 's/\n/__LINEBREAK__/g' |
sort |
sed -e 's/__LINEBREAK__/\
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
/' \
    -e 's/__LINEBREAK__/\
	/g' |
sed -e 's/^[	 ][	 ]*$//') > $t

f=../test/TESTS
cmp $t $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f)
@


1.6
log
@Update to db-4.4.11.
@
text
@d2 1
a2 1
#	$Id: s_test,v 12.2 2005/06/23 15:26:39 carol Exp $
d41 5
a45 1
 echo "set KILL \"@@db_cv_path_kill@@\"") > $t
d74 4
d80 1
a80 1
f=../build_win32/include.tcl
@


1.5
log
@Upgrade to db-4.4.4.
@
text
@d2 1
a2 1
#	$Id: s_test,v 12.1 2005/02/01 18:06:20 carol Exp $
d39 1
d68 1
@


1.4
log
@... and in with the New ...
@
text
@d2 1
a2 1
#	$Id: s_test,v 1.29 2004/05/13 18:51:43 mjc Exp $
d33 1
d35 1
d37 1
d61 1
d63 1
d65 1
@


1.4.2.1
log
@Update to db-4.4.11.
@
text
@d2 1
a2 1
#	$Id: s_test,v 12.2 2005/06/23 15:26:39 carol Exp $
a32 1
 echo "global is_freebsd_test"			&& \
a33 1
 echo "global is_linux_test"			&& \
a34 1
 echo "global is_sunos_test"			&& \
a35 1
 echo "global is_windows9x_test"		&& \
a57 1
 echo "global is_freebsd_test"			&& \
a58 1
 echo "global is_linux_test"			&& \
a59 1
 echo "global is_sunos_test"			&& \
a60 1
 echo "global is_windows9x_test"		&& \
@


1.4.2.2
log
@Merge db-4.5.20 onto rpm-4_4 branch.
@
text
@d2 1
a2 1
#	$Id: s_test,v 12.5 2006/07/07 19:05:59 bostic Exp $
d41 1
a41 5
 echo "global valid_methods"			&& \
 echo "global checking_valid_methods"		&& \
 echo "global test_recopts"			&& \
 echo ""					&& \
 echo "set KILL \"@@KILL@@\"") > $t
a69 4
 echo "global valid_methods"			&& \
 echo "global checking_valid_methods"		&& \
 echo "global test_recopts"			&& \
 echo ""					&& \
d72 1
a72 1
f=../build_windows/include.tcl
@


1.3
log
@- upgrade to db-4.2.52.
@
text
@d2 1
a2 1
#	$Id: s_test,v 1.28 2003/10/14 17:13:55 sandstro Exp $
d25 1
d50 1
@


1.2
log
@db-4.1.17 orphans.
@
text
@d2 1
a2 1
#	Id: s_test,v 1.24 2002/08/09 02:24:58 bostic Exp 
d17 1
a17 1
 echo "set tcllib .libs/libdb_tcl-@@DB_VERSION_MAJOR@@.@@DB_VERSION_MINOR@@.@@MODSUFFIX@@" && \
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
#	Id: s_test,v 1.21 2001/09/24 20:46:59 sandstro Exp 
d6 2
a7 1
msgshb="# DO NOT EDIT BELOW THIS LINE: automatically built by dist/s_test."
d14 5
a18 2
(echo "set tclsh_path @@TCL_TCLSH@@"		&& \
 echo "set tcllib .libs/libdb_tcl-@@DB_VERSION_MAJOR@@.@@DB_VERSION_MINOR@@.@@SOSUFFIX@@" && \
d21 2
d25 1
a28 4
 echo "set KILL \"@@db_cv_path_kill@@\""		&& \
 echo ""					&& \
 echo "$msgshb"					&& \
 echo ""					&& \
a30 1
 echo "set rpc_testdir \$rpc_path/TESTDIR"	&& \
d34 3
a36 1
 echo "global is_windows_test") > $t
d42 6
a47 1
(echo "set tclsh_path SET_YOUR_TCLSH_PATH"	&& \
d49 1
a49 1
 echo "set src_root .."				&& \
a51 5
 echo "set tcllib ./Debug/libdb_tcl${DB_VERSION_MAJOR}${DB_VERSION_MINOR}d.dll" && \
 echo ""					&& \
 echo "set KILL ./dbkill.exe"			&& \
 echo ""					&& \
 echo "$msgshb"					&& \
d58 3
a60 1
 echo "global is_windows_test") > $t
d67 1
a67 1
(echo $msgshb;
d74 1
a74 1
    -e 's/^#[	 ][	 ]*TEST//' \
d87 2
a88 1
	/g') > $t
@


1.1.2.1
log
@Update to db-4.0.14.
@
text
@@


1.1.1.1
log
@track: auto import
@
text
@@


1.1.1.2
log
@track: auto import
@
text
@d2 1
a2 1
#	Id: s_test,v 1.24 2002/08/09 02:24:58 bostic Exp 
d6 1
a6 2
msg1="# Automatically built by dist/s_test; may require local editing."
msg2="# Automatically built by dist/s_test; may require local editing."
d13 2
a14 5
(echo "$msg1"					&& \
 echo ""					&& \
 echo "set tclsh_path @@TCL_TCLSH@@"		&& \
 echo "set tcllib .libs/libdb_tcl-@@DB_VERSION_MAJOR@@.@@DB_VERSION_MINOR@@.@@MODSUFFIX@@" && \
 echo ""					&& \
a16 2
 echo "set rpc_testdir \$rpc_path/TESTDIR"	&& \
 echo ""					&& \
a18 1
 echo ""					&& \
d22 4
d28 1
d32 1
a32 3
 echo "global is_windows_test"			&& \
 echo ""					&& \
 echo "set KILL \"@@db_cv_path_kill@@\"") > $t
d38 5
a42 3
(echo "$msg1"					&& \
 echo ""					&& \
 echo "set tclsh_path SET_YOUR_TCLSH_PATH"	&& \
d45 1
a45 2
 echo "set src_root .."				&& \
 echo "set test_path ../test"			&& \
d47 1
a47 2
 echo "global testdir"				&& \
 echo "set testdir ./TESTDIR"			&& \
d54 1
a54 3
 echo "global is_windows_test"			&& \
 echo ""					&& \
 echo "set KILL ./dbkill.exe") > $t
d61 1
a61 1
(echo $msg2;
d68 1
a68 1
    -e 's/^#[	 ][	 ]*TEST[	 ]*//' \
d81 1
a81 2
	/g' |
sed -e 's/^[	 ][	 ]*$//') > $t
@

