mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 04:22:59 -04:00
sh: Fix some tests that used sh instead of ${SH}
so they tested the wrong sh.
This was caused because these tests were committed after the sh -> ${SH}
change but were created before.
This commit is contained in:
parent
0271d0cd13
commit
2a3de776bf
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
echo ':; fi' | sh -n 2>/dev/null && exit 1
|
||||
echo ':; fi' | ${SH} -n 2>/dev/null && exit 1
|
||||
exit 0
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
# This may fail when parsing or when defining the function, or the definition
|
||||
# may silently do nothing. In no event may the function be executed.
|
||||
|
||||
sh -c 'unset() { echo overriding function executed, bad; }; v=1; unset v; exit "${v-0}"' 2>/dev/null
|
||||
${SH} -c 'unset() { echo overriding function executed, bad; }; v=1; unset v; exit "${v-0}"' 2>/dev/null
|
||||
:
|
||||
|
|
|
|||
Loading…
Reference in a new issue