test-check-shbang.t
14 lines
| 362 B
| text/troff
|
Tads3Lexer
/ tests / test-check-shbang.t
timeless
|
r28879 | #require test-repo | ||
timeless
|
r29219 | $ . "$TESTDIR/helpers-testrepo.sh" | ||
timeless
|
r28879 | $ cd "`dirname "$TESTDIR"`" | ||
look for python scripts that do not use /usr/bin/env | ||||
Augie Fackler
|
r29515 | $ hg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bi{1}n/env python")' | ||
timeless
|
r28879 | [1] | ||
look for shell scripts that do not use /bin/sh | ||||
Augie Fackler
|
r29515 | $ hg files 'set:grep(r"^#!.*/bi{1}n/sh") and not grep(r"^#!/bi{1}n/sh")' | ||
timeless
|
r28879 | [1] | ||