tesh_exit(3)
except OSError as osE:
if osE.errno == 8:
- osE.strerror += "\nOSError: [Errno 8] Executed scripts should start with shebang line (like #!/bin/sh)"
+ osE.strerror += "\nOSError: [Errno 8] Executed scripts should start with shebang line (like #!/usr/bin/env sh)"
raise osE
cmdName = FileReader().filename+":"+str(self.linenumber)
tesh_exit(1)
if options.cd is not None:
+ print("[Tesh/INFO] change directory to " + options.cd)
os.chdir(options.cd)
if options.ignore_jenkins:
re.compile("For details see http://code.google.com/p/address-sanitizer/issues/detail\\?id=189"),
re.compile("For details see https://github.com/google/sanitizers/issues/189"),
re.compile("Python runtime initialized with LC_CTYPE=C .*"),
- re.compile("^cmake: .*? no version information available (required by cmake)"), # Seen on CircleCI
+ re.compile("cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)"), # Seen on CircleCI
]
TeshState().jenkins = True # This is a Jenkins build