summaryrefslogtreecommitdiffstats
path: root/src/tests/gssapi/t_ccselect.py
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-07-11 13:22:09 -0400
committerGreg Hudson <ghudson@mit.edu>2012-07-11 13:23:17 -0400
commitb700a332dd835affa78b60089b9de5c79a8c689e (patch)
tree43bf2f422f00c9cd3c5695e4a611e690a40eeb7b /src/tests/gssapi/t_ccselect.py
parent9cca31e478f857d22058658f73a1923f9a77fd66 (diff)
downloadkrb5-b700a332dd835affa78b60089b9de5c79a8c689e.tar.gz
krb5-b700a332dd835affa78b60089b9de5c79a8c689e.tar.xz
krb5-b700a332dd835affa78b60089b9de5c79a8c689e.zip
Automatically create DIR ccache directories
If the directory for a DIR ccache doesn't exist yet, try to create it (but not its parents) with mode 700. Exercise this in test scripts by not pre-creating directories. ticket: 7196 (new)
Diffstat (limited to 'src/tests/gssapi/t_ccselect.py')
-rw-r--r--src/tests/gssapi/t_ccselect.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tests/gssapi/t_ccselect.py b/src/tests/gssapi/t_ccselect.py
index ce25dfb57a..78f307f017 100644
--- a/src/tests/gssapi/t_ccselect.py
+++ b/src/tests/gssapi/t_ccselect.py
@@ -55,7 +55,6 @@ if 'No Kerberos credentials available' not in output:
# Make a directory collection and use it for client commands in both realms.
ccdir = os.path.join(r1.testdir, 'cc')
ccname = 'DIR:' + ccdir
-os.mkdir(ccdir)
r1.env_client['KRB5CCNAME'] = ccname
r2.env_client['KRB5CCNAME'] = ccname