]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Allow work dir to be deleted on Windows.
authorTim Kientzle <kientzle@gmail.com>
Fri, 24 Jul 2009 04:32:02 +0000 (00:32 -0400)
committerTim Kientzle <kientzle@gmail.com>
Fri, 24 Jul 2009 04:32:02 +0000 (00:32 -0400)
SVN-Revision: 1272

libarchive/test/main.c

index 830b6a9a1a9b5687ebaf2298f135e6c2e87f596c..d478bf779081e99349bbf05262b4ab45e07004a3 100644 (file)
@@ -1212,6 +1212,7 @@ int main(int argc, char **argv)
 
        /* 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);