index ff4772708b52b11604f2ec64004415d8d94fb27b..d59970b7350ec5a40dae55c002f1887152ad545e 100644 (file)
@@ -19,9 +19,11 @@ command_like(['pg_controldata', $pgdata],
# Add set of dummy files with some contents. These should not be scanned
# by the tool.
-append_to_file "$pgdata/global/123.", "foo";
+
+# On Windows, file name "foo." == "foo", so skip that pattern there.
+append_to_file "$pgdata/global/123.", "foo" unless $windows_os;
append_to_file "$pgdata/global/123_", "foo";
-append_to_file "$pgdata/global/123_.", "foo";
+append_to_file "$pgdata/global/123_.", "foo" unless $windows_os;;
append_to_file "$pgdata/global/123.12t", "foo";
append_to_file "$pgdata/global/foo", "foo2";
append_to_file "$pgdata/global/t123", "bar";
@@ -32,7 +34,7 @@ append_to_file "$pgdata/global/_init", "foobar3";
append_to_file "$pgdata/global/_vm.123", "foohoge";
append_to_file "$pgdata/global/123_vm.123t", "foohoge2";
-# Those are correct but empty files, so they should pass through.
+# These are correct but empty files, so they should pass through.
append_to_file "$pgdata/global/99999", "";
append_to_file "$pgdata/global/99999.123", "";
append_to_file "$pgdata/global/99999_fsm", "";