##// END OF EJS Templates
debugobsolete: also issue the "new obsmarkers" messsage...
debugobsolete: also issue the "new obsmarkers" messsage We are going to improve the way this message is issued in the core codebase. This will make it appears for `hg debugobsolete` too. Since this seems like a good idea, we make the output change in a previous changesets to clarify the next changeset.

File last commit:

r33199:ddd65b4f default
r43163:34a46d48 default
Show More
test-check-execute.t
24 lines | 630 B | text/troff | Tads3Lexer
/ tests / test-check-execute.t
timeless
tests: add test-check-execute.t...
r27569 #require test-repo execbit
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
timeless
tests: add test-check-execute.t...
r27569 $ cd "`dirname "$TESTDIR"`"
look for python scripts without the execute bit
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.py and not exec() and grep(r"^#!.*?python")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for python scripts with execute bit but not shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.py and exec() and not grep(r"^#!.*?python")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for shell scripts with execute bit but not shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:**.sh and exec() and not grep(r"^#!.*(ba)?sh")'
timeless
tests: add test-check-execute.t...
r27569 [1]
look for non scripts with no shebang
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg files 'set:exec() and not **.sh and not **.py and not grep(r"^#!")'
timeless
tests: add test-check-execute.t...
r27569 [1]