diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-26 13:34:55 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-26 13:44:38 +0200 |
commit | 73e406e1406ec5251e8a9f30f2682393293876c0 (patch) | |
tree | c8d8b61c6d96c591bb2ce72c11c76bfa085dcbbd /test | |
parent | sysv-generator-test: drop python2 work-around (diff) | |
download | systemd-73e406e1406ec5251e8a9f30f2682393293876c0.tar.xz systemd-73e406e1406ec5251e8a9f30f2682393293876c0.zip |
sysv-generator-test: do not query $builddir
This variable is not set by meson, so let's not try to use it.
We could use some more elaborate scheme (e.g. based on $MESON_BUILD_ROOT and
$MESON_SUBDIR) to find the path to systemd-sysv-generator, but it seems
that plain ./systemd-sysv-generator works just as well and has the advantage
that it's easy to invoke the test by hand (as long as one cd's to the
meson build dir).
Diffstat (limited to 'test')
-rwxr-xr-x | test/sysv-generator-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py index 9774378ae6..18bb40f812 100755 --- a/test/sysv-generator-test.py +++ b/test/sysv-generator-test.py @@ -28,7 +28,7 @@ from glob import glob import collections from configparser import RawConfigParser -sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator') +sysv_generator = './systemd-sysv-generator' class MultiDict(collections.OrderedDict): def __setitem__(self, key, value): |