@@ -2000,7 +2000,7 @@ test "zip" {
2000
2000
try bw .flush ();
2001
2001
}
2002
2002
2003
- const zip_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/test.zip" , .{tmp .sub_path });
2003
+ const zip_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/test.zip" , .{tmp .sub_path });
2004
2004
defer gpa .free (zip_path );
2005
2005
2006
2006
var fb : TestFetchBuilder = undefined ;
@@ -2033,7 +2033,7 @@ test "zip with one root folder" {
2033
2033
try bw .flush ();
2034
2034
}
2035
2035
2036
- const zip_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/test.zip" , .{tmp .sub_path });
2036
+ const zip_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/test.zip" , .{tmp .sub_path });
2037
2037
defer gpa .free (zip_path );
2038
2038
2039
2039
var fb : TestFetchBuilder = undefined ;
@@ -2069,7 +2069,7 @@ test "tarball with duplicate paths" {
2069
2069
2070
2070
const tarball_name = "duplicate_paths.tar.gz" ;
2071
2071
try saveEmbedFile (tarball_name , tmp .dir );
2072
- const tarball_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2072
+ const tarball_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2073
2073
defer gpa .free (tarball_path );
2074
2074
2075
2075
// Run tarball fetch, expect to fail
@@ -2101,7 +2101,7 @@ test "tarball with excluded duplicate paths" {
2101
2101
2102
2102
const tarball_name = "duplicate_paths_excluded.tar.gz" ;
2103
2103
try saveEmbedFile (tarball_name , tmp .dir );
2104
- const tarball_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2104
+ const tarball_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2105
2105
defer gpa .free (tarball_path );
2106
2106
2107
2107
// Run tarball fetch, should succeed
@@ -2145,7 +2145,7 @@ test "tarball without root folder" {
2145
2145
2146
2146
const tarball_name = "no_root.tar.gz" ;
2147
2147
try saveEmbedFile (tarball_name , tmp .dir );
2148
- const tarball_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2148
+ const tarball_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2149
2149
defer gpa .free (tarball_path );
2150
2150
2151
2151
// Run tarball fetch, should succeed
@@ -2176,7 +2176,7 @@ test "set executable bit based on file content" {
2176
2176
2177
2177
const tarball_name = "executables.tar.gz" ;
2178
2178
try saveEmbedFile (tarball_name , tmp .dir );
2179
- const tarball_path = try std .fmt .allocPrint (gpa , "zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2179
+ const tarball_path = try std .fmt .allocPrint (gpa , ". zig-cache/tmp/{s}/{s}" , .{ tmp .sub_path , tarball_name });
2180
2180
defer gpa .free (tarball_path );
2181
2181
2182
2182
// $ tar -tvf executables.tar.gz
0 commit comments