head	1.2;
access;
symbols
	RPM_4_2_1:1.1.1.4
	RPM_4_2:1.1.1.4
	RPM_4_1_1:1.1.1.4
	RPM_4_1:1.1.1.3
	RPM_4_0_5:1.1.1.2
	RPM_4_0_4:1.1.1.1
	RPM:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.01.02.09.52.23;	author rse;	state dead;
branches;
next	1.1;
commitid	z4cpSiAhOCXk5PLs;

1.1
date	2002.01.07.22.30.04;	author rse;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.01.07.22.30.04;	author rse;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.01.18.13.48.54;	author rse;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.10.15.03.47.23;	author rse;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2003.01.18.14.04.55;	author rse;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove the ancient RPM 4.2.1 source tree copy
@
text
@#!/bin/sh -
#	Id: s_test,v 1.21 2001/09/24 20:46:59 sandstro Exp 
#
# Build the Tcl test files.

msgshb="# DO NOT EDIT BELOW THIS LINE: automatically built by dist/s_test."

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

. RELEASE

(echo "set tclsh_path @@TCL_TCLSH@@"		&& \
 echo "set tcllib .libs/libdb_tcl-@@DB_VERSION_MAJOR@@.@@DB_VERSION_MINOR@@.@@SOSUFFIX@@" && \
 echo "set rpc_server localhost"	 	&& \
 echo "set rpc_path ."			 	&& \
 echo "set src_root @@srcdir@@/.."		&& \
 echo "set test_path @@srcdir@@/../test"		&& \
 echo "global testdir"				&& \
 echo "set testdir ./TESTDIR"			&& \
 echo ""					&& \
 echo "set KILL \"@@db_cv_path_kill@@\""		&& \
 echo ""					&& \
 echo "$msgshb"					&& \
 echo ""					&& \
 echo "global dict"				&& \
 echo "global util_path"			&& \
 echo "set rpc_testdir \$rpc_path/TESTDIR"	&& \
 echo ""					&& \
 echo "global is_hp_test"			&& \
 echo "global is_qnx_test"			&& \
 echo "global is_windows_test") > $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 "set tclsh_path SET_YOUR_TCLSH_PATH"	&& \
 echo "set test_path ../test"			&& \
 echo "set src_root .."				&& \
 echo "global testdir"				&& \
 echo "set testdir ./TESTDIR"			&& \
 echo "set tcllib ./Debug/libdb_tcl${DB_VERSION_MAJOR}${DB_VERSION_MINOR}d.dll" && \
 echo ""					&& \
 echo "set KILL ./dbkill.exe"			&& \
 echo ""					&& \
 echo "$msgshb"					&& \
 echo ""					&& \
 echo "global dict"				&& \
 echo "global util_path"			&& \
 echo ""					&& \
 echo "global is_hp_test"			&& \
 echo "global is_qnx_test"			&& \
 echo "global is_windows_test") > $t

f=../build_win32/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 $msgshb;
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') > $t

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


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import: RPM 4.0.4
@
text
@@


1.1.1.2
log
@Import: RPM 4.0.5
@
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
@


1.1.1.3
log
@Import: RPM 4.1
@
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.1.4
log
@Import: RPM 4.1.1
@
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
@


