[BACK]Return to patch-test_xa_src3_run.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / db18 / patches

File: [cvs.NetBSD.org] / pkgsrc / databases / db18 / patches / patch-test_xa_src3_run.sh (download)

Revision 1.1, Mon Jun 29 13:30:35 2020 UTC (3 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD

databases/db18: import db18-18.1.40

Berkeley DB is an embeddable database system that supports keyed access to
data. The software is distributed in source code form, and developers can
compile and link the source code into a single library for inclusion
directly in their applications.

Developers may choose to store data in any of several different storage
structures to satisfy the requirements of a particular application. In
database terminology, these storage structures and the code that operates on
them are called access methods. The library includes support for the
following access methods:

   * B+tree: Stores keys in sorted order, using either a programmer-supplied
     ordering function or a default function that does lexicographical
     ordering of keys. Applications may perform equality or range searches.
   * Hashing: Stores records in a hash table for fast searches based on
     strict equality. Extended Linear Hashing modifies the hash function
     used by the table as new records are inserted, in order to keep buckets
     underfull in the steady state.
   * Fixed and Variable-Length Records: Stores fixed- or variable-length
     records in sequential order. Record numbers may be immutable or
     mutable, i.e., permitting new records to be inserted between existing
     records or requiring that new records be added only at the end of the
     database.

This package privides Berkeley DB 18 released under GNU AGPL3.

$NetBSD: patch-test_xa_src3_run.sh,v 1.1 2020/06/29 13:30:35 ryoon Exp $

--- test/xa/src3/run.sh.orig	2020-05-29 17:58:22.000000000 +0000
+++ test/xa/src3/run.sh
@@ -4,7 +4,7 @@
 
 msg()
 {
-	test "$DVERBOSE" == 1 && {
+	test "$DVERBOSE" = 1 && {
 		echo "========"
 		echo "======== $1"
 		echo "========"
@@ -28,7 +28,7 @@ cd $RUN/bin
 #
 # For debugging output, add -DDVERBOSE 
 
-test "$DVERBOSE" == 1 && {
+test "$DVERBOSE" = 1 && {
 	COMPILE_FLAGS="-DDVERBOSE"
 	DVERBOSE_FLAG="-v"
 }
@@ -90,7 +90,7 @@ msg "BOOTING TUXEDO."
 tmboot -y
 
 exitval=0
-if [ $1 == 1 ]; then 
+if [ $1 = 1 ]; then 
         # Create 3 clients, one which kills the server
         ./client -dk $DVERBOSE_FLAG >>2 client_err &
 	./client -d $DVERBOSE_FLAG >>2 client_err &
@@ -115,7 +115,7 @@ echo "STDOUT:"
 cat stdout  
 
 # Killing a server can result in expected database "run recovery" errors
-if [ $1 == 1 ]; then 
+if [ $1 = 1 ]; then 
         exit $exitval
 fi