tests: Don't hard-code the path to python

Python isn't always installed in /usr/bin. If we hard-code the path,
these tests will fail on *BSD because they install python in different
prefixes such as /usr/local and /usr/pkg.
This commit is contained in:
Ting-Wei Lan 2018-08-10 21:43:11 +08:00 committed by Georges Basile Stavracas Neto
parent 510dc16777
commit 9df14924d4
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright © 2018 Red Hat, Inc
#
# This program is free software; you can redistribute it and/or modify