Submitter | Augie Fackler |
---|---|
Date | July 12, 2016, 7:49 p.m. |
Message ID | <31f958c411e7040bb71f.1468352988@arthedain.pit.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/15810/ |
State | Accepted |
Headers | show |
Comments
Patch
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,10 +5,10 @@ look for python scripts that do not use /usr/bin/env - $ hg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bin/env python")' + $ hg files 'set:grep(r"^#!.*?python") and not grep(r"^#!/usr/bi{1}n/env python")' [1] look for shell scripts that do not use /bin/sh - $ hg files 'set:grep(r"^#!.*/bin/sh") and not grep(r"^#!/bin/sh")' + $ hg files 'set:grep(r"^#!.*/bi{1}n/sh") and not grep(r"^#!/bi{1}n/sh")' [1]