diff --git a/test/standalone/install_headers/check_exists.zig b/test/standalone/install_headers/check_exists.zig index da07af10285c0acc2ba3dee8bfc39fe11d4ebae6..62706749aac0398f7256fd6f1b5b3d5c652e6346 100644 --- a/test/standalone/install_headers/check_exists.zig +++ b/test/standalone/install_headers/check_exists.zig @@ -12,12 +12,12 @@ pub fn main() !void { _ = arg_it.next(); const cwd = std.fs.cwd(); - const cwd_realpath = try cwd.realpathAlloc(arena, ""); + const cwd_realpath = try cwd.realpathAlloc(arena, "."); while (arg_it.next()) |file_path| { if (file_path.len > 0 and file_path[0] == '!') { errdefer std.log.err( - "excluded file check '{s}{c}{s}' failed", + "exclusive file check '{s}{c}{s}' failed", .{ cwd_realpath, std.fs.path.sep, file_path[1..] }, ); if (std.fs.cwd().statFile(file_path[1..])) |_| { @@ -28,7 +28,7 @@ pub fn main() !void { } } else { errdefer std.log.err( - "included file check '{s}{c}{s}' failed", + "inclusive file check '{s}{c}{s}' failed", .{ cwd_realpath, std.fs.path.sep, file_path }, ); _ = try std.fs.cwd().statFile(file_path); diff --git a/test/standalone/install_headers/include/sub_dir/c.ignore_me.h b/test/standalone/install_headers/include/sub_dir/c.ignore_me.h new file mode 100644 index 0000000000000000000000000000000000000000..11e5ba752b5e84f54ee64a100cca8a13624b206a --- /dev/null +++ b/test/standalone/install_headers/include/sub_dir/c.ignore_me.h @@ -0,0 +1 @@ +#error "ignore me" diff --git a/test/standalone/install_headers/include/sub_dir/ignore_me.h b/test/standalone/install_headers/include/sub_dir/ignore_me.h deleted file mode 100644 index 11e5ba752b5e84f54ee64a100cca8a13624b206a..0000000000000000000000000000000000000000 --- a/test/standalone/install_headers/include/sub_dir/ignore_me.h +++ /dev/null @@ -1 +0,0 @@ -#error "ignore me"