view tests/test-check-shbang.t @ 29068:305f9c36a0f5

largefiles: makes verify batching stat calls to remote Instead of sending stat calls for each files separately, it sends one batch call with stat invocations for all files.
author liscju <piotr.listkiewicz@gmail.com>
date Tue, 03 May 2016 23:48:31 +0200
parents 8c1759a2bdf4
children 3c9066ed557c
line wrap: on
line source

#require test-repo

  $ cd "`dirname "$TESTDIR"`"

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")'
  [1]

look for shell scripts that do not use /bin/sh

  $ hg files 'set:grep(r"^#!.*/bin/sh") and not grep(r"^#!/bin/sh")'
  [1]