diff options
| author | Chuck <chuck@intelligence.org> | 2020-05-09 10:32:42 -0700 |
|---|---|---|
| committer | Chuck <chuck@intelligence.org> | 2020-05-09 11:01:17 -0700 |
| commit | 751a27020e733f064339eab208327b85c23e3c42 (patch) | |
| tree | f7ba991d9680a8882ab151592f97a23c07b34402 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | d0c3e7bedb390d79291f23685355bcaf1fcd152f (diff) | |
nixos/test-driver: Specify /bin/sh shell when running a bourne shell script as the user
The test harness provides the commands it wishes to run in Bourne
syntax. This fails if the user uses a different shell. For example,
with fish:
machine.wait_for_unit("graphical-session.target", "alice")
machine # fish: Unsupported use of '='. To run '-u`' with a modified environment, please use 'env XDG_RUNTIME_DIR=/run/user/`id -u`…'
machine # XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user --no-pager show "graphical-session.target"
machine # ^
machine # [ 16.329957] su[1077]: pam_unix(su:session): session closed for user alice
error: retrieving systemctl info for unit "graphical-session.target" under user "alice" failed with exit code 127
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
