This commit is contained in:
Thomas Levine 2016-03-31 19:28:28 +00:00
parent 9ea757722a
commit 5c24879dd8
7 changed files with 8 additions and 11 deletions

View File

@ -0,0 +1,3 @@
echo "$1" > $tmp
TESTING_URCHIN_INTERNALS=true . ../../../urchin
has_shebang_line $tmp

View File

@ -1 +1 @@
run '!#/bin/bash'
./.run '!#/bin/bash'

View File

@ -1 +1 @@
! run ''
! ./.run ''

View File

@ -1,4 +1,4 @@
! run '
! ./.run '

View File

@ -1 +1 @@
run '!#/usr/bin/env true'
./.run '!#/usr/bin/env true'

View File

@ -1,7 +1 @@
export tmp=$(mktemp)
run() {
TESTING_URCHIN_INTERNALS=true . ../../urchin
echo "$1" > $tmp
has_shebang_line $tmp
}

View File

@ -1 +1 @@
! run '!#/bin/sh'
! ./.run '!#/bin/sh'