)]}'
{
  "commit": "f03239584d8d33689c19d68500b611ce8991626b",
  "tree": "7d19cc5a55bd1af7c4826e721574a3ba87797221",
  "parents": [
    "7d88c8a06ce4077b235bf83a787e6aced84a7634"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Nov 11 10:51:46 2024 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Nov 11 15:29:53 2024 +0000"
  },
  "message": "gdb/testsuite: fix failure in gdb.base/info_sources.exp\n\nI ran into an unexpected failure in gdb.base/info_sources.exp.  The\ntest in question runs this command:\n\n  (gdb) info sources -d -- -d\n\nThat is, list all the source files whose directory name matches the\nregexp \u0027-d\u0027.  The expectation is that no source files will be listed.\n\nUnfortunately, when I ran the test some source files are listed; the\ndirectory I am running in contains the pattern \u0027-d\u0027, and so the test\nfails.\n\nAs we cannot control where the developer is building and testing GDB,\nI propose that instead of just testing with \u0027-d\u0027 we should search\nthrough all the letters a-z and find one that isn\u0027t present in the\nsource file directory name.  I\u0027m still including the leading \u0027-\u0027\ncharacter in the regexp.\n\nSo now, unless GDB is being built in a directory that contains \u0027-a\u0027,\n\u0027-b\u0027, \u0027-c\u0027, .... \u0027-z\u0027, the test will find one letter which isn\u0027t\npresent, and use that for the test.\n\nTo avoid test names changing between runs in different directories\nI\u0027ve had to tweak the test name to something more generic, but there\nshould be no change in which parts of GDB are actually being tested.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9063a30adea8152cd1d77080917515883f959614",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/info_sources.exp",
      "new_id": "6ef711f39e0e61c9e1e26a3e827a223d9ea6c521",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/info_sources.exp"
    }
  ]
}
