commit | 385848efd9168d1dc3b49657a24e601bde3bbb28 | [log] [tgz] |
---|---|---|
author | Tim Kientzle <kientzle@gmail.com> | Fri Jul 24 00:32:02 2009 -0400 |
committer | Tim Kientzle <kientzle@gmail.com> | Fri Jul 24 00:32:02 2009 -0400 |
tree | b6e1a1fc9afb29bab979e7ad4f634e44016e90fe | |
parent | f5ee3be177c49c2b2842cbc382ba59b4ea5a012a [diff] |
Allow work dir to be deleted on Windows. SVN-Revision: 1272
diff --git a/libarchive/test/main.c b/libarchive/test/main.c index 830b6a9..d478bf7 100644 --- a/libarchive/test/main.c +++ b/libarchive/test/main.c
@@ -1212,6 +1212,7 @@ /* If the final tmpdir is empty, we can remove it. */ /* This should be the usual case when all tests succeed. */ + chdir(".."); rmdir(tmpdir); return (tests_failed);