Lines Matching full:good
36 # @good: whether this script is expected to execute correctly
45 def test(name, size, good=True, leading="", root="./", target="/perl", argument
82 if good:
83 print("ok %d - binfmt_script %s (successful good exec)"
91 if good:
117 test(name="too-big", size=SIZE+80, good=False)
119 test(name="exact", size=SIZE, good=False)
121 test(name="exact-space", size=SIZE, good=False, leading=" ")
123 test(name="whitespace-too-big", size=SIZE+71, good=False, root="",
125 # A good path, but it gets truncated due to leading whitespace.
126 test(name="truncated", size=SIZE+17, good=False, leading=" " * 19)
128 test(name="empty", size=2, good=False, root="",
131 test(name="spaces", size=SIZE-1, good=False, root="", fill=" ",
134 test(name="newline-prefix", size=SIZE-1, good=False, leading="\n",