From 7ad5bf874d0d057c92b44527be6d309f07bc9a70 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 7 Mar 2012 19:02:59 -0600 Subject: Rename straggling environment variables KDE->TDE. --- certmanager/lib/tests/Makefile.am | 2 +- certmanager/lib/tests/test_verify.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'certmanager/lib/tests') diff --git a/certmanager/lib/tests/Makefile.am b/certmanager/lib/tests/Makefile.am index 331d4d8e9..3e8b7c367 100644 --- a/certmanager/lib/tests/Makefile.am +++ b/certmanager/lib/tests/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/certmanager/lib \ -I$(top_srcdir)/libtdenetwork \ - $(GPGME_CFLAGS) $(all_includes) -DKDESRCDIR=\"$(srcdir)\" + $(GPGME_CFLAGS) $(all_includes) -DTDESRCDIR=\"$(srcdir)\" check_PROGRAMS = test_keylister test_keygen test_keyselectiondialog \ test_cryptoconfig test_gnupgprocessbase test_jobs test_verify diff --git a/certmanager/lib/tests/test_verify.cpp b/certmanager/lib/tests/test_verify.cpp index 331d3759e..72ce9b2f8 100644 --- a/certmanager/lib/tests/test_verify.cpp +++ b/certmanager/lib/tests/test_verify.cpp @@ -49,7 +49,7 @@ int main( int argc, char **argv ) { - setenv("GNUPGHOME", KDESRCDIR "/gnupg_home", 1 ); + setenv("GNUPGHOME", TDESRCDIR "/gnupg_home", 1 ); setenv("LC_ALL", "C", 1); setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1); @@ -57,8 +57,8 @@ int main( int argc, char **argv ) KCmdLineArgs::init( argc, argv, &aboutData ); KApplication app( false, false ); - const TQString sigFileName = KDESRCDIR "/test.data.sig"; - const TQString dataFileName = KDESRCDIR "/test.data"; + const TQString sigFileName = TDESRCDIR "/test.data.sig"; + const TQString dataFileName = TDESRCDIR "/test.data"; TQFile sigFile( sigFileName ); assert( sigFile.open( IO_ReadOnly ) ); @@ -77,7 +77,7 @@ int main( int argc, char **argv ) assert( sig.creationTime() == 1189650248L ); assert( sig.validity() == GpgME::Signature::Full ); - const TQString opaqueFileName = KDESRCDIR "/test.data.gpg"; + const TQString opaqueFileName = TDESRCDIR "/test.data.gpg"; TQFile opaqueFile( opaqueFileName ); assert( opaqueFile.open( IO_ReadOnly ) ); TQByteArray clearText; -- cgit v1.2.1