Adapt to test program removals.
diff --git a/xcode/libzip.xcodeproj/project.pbxproj b/xcode/libzip.xcodeproj/project.pbxproj
index a388b0a..b767590 100644
--- a/xcode/libzip.xcodeproj/project.pbxproj
+++ b/xcode/libzip.xcodeproj/project.pbxproj
@@ -44,7 +44,6 @@
 				4BACD65715BC303B00920691 /* PBXTargetDependency */,
 				4BACD65915BC303B00920691 /* PBXTargetDependency */,
 				4BACD5B215BC2DB300920691 /* PBXTargetDependency */,
-				4BACD65B15BC303B00920691 /* PBXTargetDependency */,
 				4BACD65D15BC303B00920691 /* PBXTargetDependency */,
 				4BACD66915BC303B00920691 /* PBXTargetDependency */,
 			);
@@ -181,9 +180,6 @@
 		4BACD5D915BC2F3700920691 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D70815B2F4CF002D5007 /* libz.dylib */; };
 		4BACD5DA15BC2F3700920691 /* libzip.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D68B15B2F3F1002D5007 /* libzip.framework */; };
 		4BACD5E115BC2F4500920691 /* fread.c in Sources */ = {isa = PBXBuildFile; fileRef = 4BACD57B15BC2AEF00920691 /* fread.c */; };
-		4BACD5E815BC2F6600920691 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D70815B2F4CF002D5007 /* libz.dylib */; };
-		4BACD5E915BC2F6600920691 /* libzip.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D68B15B2F3F1002D5007 /* libzip.framework */; };
-		4BACD5F015BC2F7100920691 /* name_locate.c in Sources */ = {isa = PBXBuildFile; fileRef = 4BACD57D15BC2AEF00920691 /* name_locate.c */; };
 		4BACD5F715BC2F9500920691 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D70815B2F4CF002D5007 /* libz.dylib */; };
 		4BACD5F815BC2F9500920691 /* libzip.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B01D68B15B2F3F1002D5007 /* libzip.framework */; };
 		4BACD63315BC2FB800920691 /* set_comment_all.c in Sources */ = {isa = PBXBuildFile; fileRef = 4BACD57E15BC2AEF00920691 /* set_comment_all.c */; };
@@ -414,13 +410,6 @@
 			remoteGlobalIDString = 4B01D68A15B2F3F1002D5007;
 			remoteInfo = "libzip Mac";
 		};
-		4BACD5E415BC2F6600920691 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 4BDC71BF15B181DA00236D3C /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 4B01D68A15B2F3F1002D5007;
-			remoteInfo = "libzip Mac";
-		};
 		4BACD5F315BC2F9500920691 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 4BDC71BF15B181DA00236D3C /* Project object */;
@@ -456,13 +445,6 @@
 			remoteGlobalIDString = 4BACD5D315BC2F3700920691;
 			remoteInfo = fread;
 		};
-		4BACD65A15BC303B00920691 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 4BDC71BF15B181DA00236D3C /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 4BACD5E215BC2F6600920691;
-			remoteInfo = name_locate;
-		};
 		4BACD65C15BC303B00920691 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 4BDC71BF15B181DA00236D3C /* Project object */;
@@ -566,15 +548,6 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
-		4BACD5EA15BC2F6600920691 /* CopyFiles */ = {
-			isa = PBXCopyFilesBuildPhase;
-			buildActionMask = 12;
-			dstPath = /usr/share/man/man1/;
-			dstSubfolderSpec = 0;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
 		4BACD5F915BC2F9500920691 /* CopyFiles */ = {
 			isa = PBXCopyFilesBuildPhase;
 			buildActionMask = 12;
@@ -698,16 +671,13 @@
 		4BACD57A15BC2AEF00920691 /* fopen_unchanged.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = fopen_unchanged.c; path = ../regress/fopen_unchanged.c; sourceTree = "<group>"; };
 		4BACD57B15BC2AEF00920691 /* fread.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = fread.c; path = ../regress/fread.c; sourceTree = "<group>"; };
 		4BACD57C15BC2AEF00920691 /* modify.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = modify.c; path = ../regress/modify.c; sourceTree = "<group>"; };
-		4BACD57D15BC2AEF00920691 /* name_locate.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = name_locate.c; path = ../regress/name_locate.c; sourceTree = "<group>"; };
 		4BACD57E15BC2AEF00920691 /* set_comment_all.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = set_comment_all.c; path = ../regress/set_comment_all.c; sourceTree = "<group>"; };
-		4BACD58215BC2AEF00920691 /* set_compression.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = set_compression.c; path = ../regress/set_compression.c; sourceTree = "<group>"; };
 		4BACD58415BC2AEF00920691 /* tryopen.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = tryopen.c; path = ../regress/tryopen.c; sourceTree = "<group>"; };
 		4BACD58915BC2CEA00920691 /* modify */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = modify; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD5A415BC2D4C00920691 /* add_from_buffer */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = add_from_buffer; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD5C115BC2DC900920691 /* add_from_filep */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = add_from_filep; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD5D015BC2DF200920691 /* fopen_unchanged */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fopen_unchanged; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD5DF15BC2F3700920691 /* fread */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fread; sourceTree = BUILT_PRODUCTS_DIR; };
-		4BACD5EE15BC2F6600920691 /* name_locate */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = name_locate; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD5FD15BC2F9500920691 /* set_comment_all */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = set_comment_all; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BACD65015BC301300920691 /* tryopen */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tryopen; sourceTree = BUILT_PRODUCTS_DIR; };
 		4BC3863E1A1BE00E00CDCAAC /* zip_get_error.mdoc */ = {isa = PBXFileReference; lastKnownFileType = text; path = zip_get_error.mdoc; sourceTree = "<group>"; };
@@ -1019,15 +989,6 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
-		4BACD5E715BC2F6600920691 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				4BACD5E815BC2F6600920691 /* libz.dylib in Frameworks */,
-				4BACD5E915BC2F6600920691 /* libzip.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
 		4BACD5F615BC2F9500920691 /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
@@ -1205,9 +1166,7 @@
 				4BACD57B15BC2AEF00920691 /* fread.c */,
 				4BD6CB5E19E71B3B00710654 /* hole.c */,
 				4BACD57C15BC2AEF00920691 /* modify.c */,
-				4BACD57D15BC2AEF00920691 /* name_locate.c */,
 				4BACD57E15BC2AEF00920691 /* set_comment_all.c */,
-				4BACD58215BC2AEF00920691 /* set_compression.c */,
 				4BD6CB5C19E6A5D900710654 /* source_hole.c */,
 				4BACD58415BC2AEF00920691 /* tryopen.c */,
 				4BD35E401A33362A00256CB7 /* test cases */,
@@ -1343,7 +1302,6 @@
 				4BACD5C115BC2DC900920691 /* add_from_filep */,
 				4BACD5D015BC2DF200920691 /* fopen_unchanged */,
 				4BACD5DF15BC2F3700920691 /* fread */,
-				4BACD5EE15BC2F6600920691 /* name_locate */,
 				4BACD5FD15BC2F9500920691 /* set_comment_all */,
 				4BACD65015BC301300920691 /* tryopen */,
 				4BD6CB6C19E71CD100710654 /* hole */,
@@ -1669,24 +1627,6 @@
 			productReference = 4BACD5DF15BC2F3700920691 /* fread */;
 			productType = "com.apple.product-type.tool";
 		};
-		4BACD5E215BC2F6600920691 /* name_locate */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 4BACD5EB15BC2F6600920691 /* Build configuration list for PBXNativeTarget "name_locate" */;
-			buildPhases = (
-				4BACD5E515BC2F6600920691 /* Sources */,
-				4BACD5E715BC2F6600920691 /* Frameworks */,
-				4BACD5EA15BC2F6600920691 /* CopyFiles */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				4BACD5E315BC2F6600920691 /* PBXTargetDependency */,
-			);
-			name = name_locate;
-			productName = modify;
-			productReference = 4BACD5EE15BC2F6600920691 /* name_locate */;
-			productType = "com.apple.product-type.tool";
-		};
 		4BACD5F115BC2F9500920691 /* set_comment_all */ = {
 			isa = PBXNativeTarget;
 			buildConfigurationList = 4BACD5FA15BC2F9500920691 /* Build configuration list for PBXNativeTarget "set_comment_all" */;
@@ -1795,7 +1735,6 @@
 				4BACD5D315BC2F3700920691 /* fread */,
 				4BD6CB5F19E71CD100710654 /* hole */,
 				4BACD58815BC2CEA00920691 /* modify */,
-				4BACD5E215BC2F6600920691 /* name_locate */,
 				4BACD5F115BC2F9500920691 /* set_comment_all */,
 				4BACD64515BC301300920691 /* tryopen */,
 			);
@@ -2035,14 +1974,6 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
-		4BACD5E515BC2F6600920691 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				4BACD5F015BC2F7100920691 /* name_locate.c in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
 		4BACD5F415BC2F9500920691 /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
@@ -2252,11 +2183,6 @@
 			target = 4B01D68A15B2F3F1002D5007 /* libzip */;
 			targetProxy = 4BACD5D515BC2F3700920691 /* PBXContainerItemProxy */;
 		};
-		4BACD5E315BC2F6600920691 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 4B01D68A15B2F3F1002D5007 /* libzip */;
-			targetProxy = 4BACD5E415BC2F6600920691 /* PBXContainerItemProxy */;
-		};
 		4BACD5F215BC2F9500920691 /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			target = 4B01D68A15B2F3F1002D5007 /* libzip */;
@@ -2282,11 +2208,6 @@
 			target = 4BACD5D315BC2F3700920691 /* fread */;
 			targetProxy = 4BACD65815BC303B00920691 /* PBXContainerItemProxy */;
 		};
-		4BACD65B15BC303B00920691 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 4BACD5E215BC2F6600920691 /* name_locate */;
-			targetProxy = 4BACD65A15BC303B00920691 /* PBXContainerItemProxy */;
-		};
 		4BACD65D15BC303B00920691 /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			target = 4BACD5F115BC2F9500920691 /* set_comment_all */;
@@ -2621,29 +2542,6 @@
 			};
 			name = Release;
 		};
-		4BACD5EC15BC2F6600920691 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = YES;
-				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				LD_RUNPATH_SEARCH_PATHS = "@loader_path/";
-				PRODUCT_NAME = name_locate;
-			};
-			name = Debug;
-		};
-		4BACD5ED15BC2F6600920691 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = YES;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				LD_RUNPATH_SEARCH_PATHS = "@loader_path/";
-				PRODUCT_NAME = name_locate;
-			};
-			name = Release;
-		};
 		4BACD5FB15BC2F9500920691 /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
@@ -2961,15 +2859,6 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 		};
-		4BACD5EB15BC2F6600920691 /* Build configuration list for PBXNativeTarget "name_locate" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				4BACD5EC15BC2F6600920691 /* Debug */,
-				4BACD5ED15BC2F6600920691 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
 		4BACD5FA15BC2F9500920691 /* Build configuration list for PBXNativeTarget "set_comment_all" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (