summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/tests
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 19:02:59 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-07 19:02:59 -0600
commit7ad5bf874d0d057c92b44527be6d309f07bc9a70 (patch)
treed253fbae7aaaf3446705ed9e6ebf28ebfadf4d00 /certmanager/lib/tests
parentbf7afe36b8129991c538dfc234bd3d4c8a43d71d (diff)
downloadtdepim-7ad5bf874d0d057c92b44527be6d309f07bc9a70.tar.gz
tdepim-7ad5bf874d0d057c92b44527be6d309f07bc9a70.zip
Rename straggling environment variables KDE->TDE.
Diffstat (limited to 'certmanager/lib/tests')
-rw-r--r--certmanager/lib/tests/Makefile.am2
-rw-r--r--certmanager/lib/tests/test_verify.cpp8
2 files changed, 5 insertions, 5 deletions
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;