[28984] in CVS-changelog-for-Kerberos-V5
krb5 commit: Add test case for directory in profile path
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Jul 15 16:26:05 2015
Date: Wed, 15 Jul 2015 16:26:00 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201507152026.t6FKQ0vk008268@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/b249d2199711ced887de9ff6bc999b4a91143e5d
commit b249d2199711ced887de9ff6bc999b4a91143e5d
Author: Greg Hudson <ghudson@mit.edu>
Date: Thu Oct 23 12:30:42 2014 -0400
Add test case for directory in profile path
ticket: 8030
src/util/profile/prof_test1 | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/util/profile/prof_test1 b/src/util/profile/prof_test1
index d7117a6..87368d8 100644
--- a/src/util/profile/prof_test1
+++ b/src/util/profile/prof_test1
@@ -200,6 +200,16 @@ proc test4 {} {
}
profile_release $p
+ # Directly list the directory in the profile path and try again.
+ set p [profile_init_path $wd/test_include_dir]
+ set x [profile_get_values $p {{test section 1} bar}]
+ if $verbose { puts "Read $x from directory" }
+ if ![string equal $x "foo foo"] {
+ puts stderr, "Error: test4: Did not get expected result from directory."
+ exit 1
+ }
+ profile_release $p
+
puts "OK: test4: include and includedir directives"
}
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5