@ -97,10 +97,11 @@ if __name__ == "__main__":
Command ( functional_base_cmd + [ " -- " , " zzzz " ] , fail_cmd ) . run ( retcode = 1 )
Command ( functional_base_cmd + [ " -- " , " zzzz " ] , fail_cmd ) . run ( retcode = 1 )
Command ( functional_base_cmd + [ " -h " ] , fail_cmd ) . run ( )
Command ( functional_base_cmd + [ " -h " ] , fail_cmd ) . run ( )
# Valgrind test
# Valgrind test (we only run this on the dynamic version, because otherwise Valgrind may bring up plenty of errors that are
Command ( functional_base_cmd + [ " -- " , " valgrind " , " --leak-check=full " , " --error-exitcode=1 " , entrypoint , " -v " , " -- " , " ls " ] , fail_cmd ) . run ( )
# actually from libc)
Command ( functional_base_cmd + [ " -- " , " valgrind " , " --leak-check=full " , " --error-exitcode=1 " , " /tini/dist/tini " , " -v " , " -- " , " ls " ] , fail_cmd ) . run ( )
# Install tests (sh -c is used for globbing and &&)
# Installation tests (sh -c is used for globbing and &&)
for image , pkg_manager , extension in [
for image , pkg_manager , extension in [
[ " ubuntu:precise " , " dpkg " , " deb " ] ,
[ " ubuntu:precise " , " dpkg " , " deb " ] ,
[ " ubuntu:trusty " , " dpkg " , " deb " ] ,
[ " ubuntu:trusty " , " dpkg " , " deb " ] ,