diff --git a/tests/test-check-shbang.t b/tests/test-check-shbang.t --- a/tests/test-check-shbang.t +++ b/tests/test-check-shbang.t @@ -5,7 +5,7 @@ look for python scripts that do not use /usr/bin/env - $ testrepohg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bi{1}n/env python") - **/*.t' + $ testrepohg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bi{1}n/env (-S )?python") - **/*.t' [1] In tests, enforce $PYTHON and *not* /usr/bin/env python or similar: