losmoketest.py: allow to use the long --headless option; not only -s

This commit is contained in:
Petr Mladek 2011-10-19 17:54:09 +02:00
parent 87268f254f
commit 4255c2663d

View file

@ -570,6 +570,8 @@ def main():
interactive = False
elif o in ("-t", "--type"):
pass
elif o in ("-s", "--headless"):
pass
elif o in ("-h", "--help"):
usage()
sys.exit()
@ -591,7 +593,7 @@ def main():
elif o in ("-l", "--loop"):
loop = True
else:
assert False, "Unhandled option"
assert False, "Unhadled option: " + o
if interactive == True:
key = raw_input("The testing will OVERRIDE existed libreoffice, continue(y/N)? ")