@@ -2000,7 +2000,7 @@ test "zip" {
20002000 try bw .flush ();
20012001 }
20022002
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 });
20042004 defer gpa .free (zip_path );
20052005
20062006 var fb : TestFetchBuilder = undefined ;
@@ -2033,7 +2033,7 @@ test "zip with one root folder" {
20332033 try bw .flush ();
20342034 }
20352035
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 });
20372037 defer gpa .free (zip_path );
20382038
20392039 var fb : TestFetchBuilder = undefined ;
@@ -2069,7 +2069,7 @@ test "tarball with duplicate paths" {
20692069
20702070 const tarball_name = "duplicate_paths.tar.gz" ;
20712071 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 });
20732073 defer gpa .free (tarball_path );
20742074
20752075 // Run tarball fetch, expect to fail
@@ -2101,7 +2101,7 @@ test "tarball with excluded duplicate paths" {
21012101
21022102 const tarball_name = "duplicate_paths_excluded.tar.gz" ;
21032103 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 });
21052105 defer gpa .free (tarball_path );
21062106
21072107 // Run tarball fetch, should succeed
@@ -2145,7 +2145,7 @@ test "tarball without root folder" {
21452145
21462146 const tarball_name = "no_root.tar.gz" ;
21472147 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 });
21492149 defer gpa .free (tarball_path );
21502150
21512151 // Run tarball fetch, should succeed
@@ -2176,7 +2176,7 @@ test "set executable bit based on file content" {
21762176
21772177 const tarball_name = "executables.tar.gz" ;
21782178 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 });
21802180 defer gpa .free (tarball_path );
21812181
21822182 // $ tar -tvf executables.tar.gz
0 commit comments