Philip Withnall 087272777b tests: Fix incorrect basename comparison in gsubprocess test
This was causing intermittent failures on macOS, depending on whether
the tmpdir ended with a `/` or `/some-dir`. `g_strrstr()` is not the
right function to use to extract a basename from a path, for this
reason.

When it failed, the macOS test was failing with:
```
ok 16 /gsubprocess/env
Bail out! GLib-GIO:ERROR:../gio/tests/gsubprocess.c:1507:test_cwd: assertion failed (basename == tmp_lineend_basename): ("/T\n" == "/\n")
```

The test now passes reliably, which means that it can be removed from
the list of expected failures on macOS.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #1392
2022-06-27 15:02:55 +01:00
..
2022-06-17 08:49:03 -05:00
2022-06-23 10:46:45 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 14:01:43 +00:00
2022-06-09 17:08:42 +02:00
2022-06-23 10:46:45 +01:00
2022-06-23 10:46:45 +01:00