]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: don't install test-network-generator-conversion.sh w/o networkd
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 20 Oct 2021 17:43:34 +0000 (19:43 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 20 Oct 2021 21:04:45 +0000 (22:04 +0100)
commit140557021ad1a3946319fff1a87831eb02d6a1a0
treeda77ec72adb8a3d9ffde20dd9e6f6749e5bf50db
parent0b5fe54ff5c35849316b916bd9dc042a7a2349e1
test: don't install test-network-generator-conversion.sh w/o networkd

otherwise TEST-02 will fail:

```
=== Failed test log ===
--- test-network-generator-conversion.sh begin ---
+ [[ -n '' ]]
+ [[ -x /usr/lib/systemd/systemd-network-generator ]]
+ [[ -x /lib/systemd/systemd-network-generator ]]
+ exit 1
--- test-network-generator-conversion.sh end ---
```

Before:
```
$ meson build -Dnetworkd=false -Dinstall-tests=true
$ ninja -C build
$ DESTDIR=$PWD/test-install ninja -C build install
$ find test-install/ -name test-network-generator-conversion.sh
test-install/usr/lib/systemd/tests/test-network-generator-conversion.sh
```

After:
```
$ find test-install/ -name test-network-generator-conversion.sh
<no output>
```
test/meson.build