SOURCES: krb5-tests.patch - use local dictionary for db tests

baggins baggins at pld-linux.org
Wed Nov 21 18:02:22 CET 2007


Author: baggins                      Date: Wed Nov 21 17:02:22 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use local dictionary for db tests

---- Files affected:
SOURCES:
   krb5-tests.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/krb5-tests.patch
diff -u SOURCES/krb5-tests.patch:1.5 SOURCES/krb5-tests.patch:1.6
--- SOURCES/krb5-tests.patch:1.5	Sat Mar 31 18:49:47 2007
+++ SOURCES/krb5-tests.patch	Wed Nov 21 18:02:17 2007
@@ -9,3 +9,24 @@
  	$(RUN_SETUP) $(VALGRIND) ./addrinfo-test -p telnet
  	$(RUN_SETUP) $(VALGRIND) ./fake-addrinfo-test -p telnet
  
+--- krb5-1.6.3/krb5-1.6.3/src/plugins/kdb/db2/libdb2/test/run.test~	2007-11-21 17:52:04.000000000 +0100
++++ krb5-1.6.3/krb5-1.6.3/src/plugins/kdb/db2/libdb2/test/run.test	2007-11-21 17:58:16.000000000 +0100
+@@ -12,17 +12,7 @@
+ 	TMP2=${TMPDIR-.}/t2
+ 	TMP3=${TMPDIR-.}/t3
+ 
+-	if [ \! -z "$WORDLIST" -a -f "$WORDLIST" ]; then
+-		DICT=$WORDLIST
+-	elif [ -f /usr/local/lib/dict/words ]; then
+-		DICT=/usr/local/lib/dict/words
+-	elif [ -f /usr/share/dict/words ]; then
+-		DICT=/usr/share/dict/words
+-	elif [ -f /usr/dict/words ]; then
+-		DICT=/usr/dict/words
+-	elif [ -f /usr/share/lib/dict/words ]; then
+-		DICT=/usr/share/lib/dict/words
+-	elif [ -f $srcdir/../test/dictionary ]; then
++	if [ -f $srcdir/../test/dictionary ]; then
+ 		DICT=`cd $srcdir/../test && pwd`/dictionary
+ 	else
+ 		echo 'run.test: no dictionary'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/krb5-tests.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list