tests: add workaround for pre-232 system returning EINVAL on some flags
tests: add workaround for pre-232 system returning EINVAL on some flags

systemd/python-systemd,Awesense/python-systemd,Awesense/python-systemd,keszybz/python-systemd,keszybz/python-systemd,systemd/python-systemd,Awesense/python-systemd