util/gitconfig: Add timeout test
commit15aad88404da3a6dfcabcfc04a9c41bec89e3cc9
authorAlex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Tue, 2 Jan 2018 17:40:55 +0000 (2 17:40 +0000)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 15 Nov 2018 09:07:05 +0000 (15 09:07 +0000)
treed26e862466987279ecc86131b102bb04a9217747
parentc9826d79347256b7efd65075740fbf2ae9f48812
util/gitconfig: Add timeout test

Add a `util/gitconfig/test` subdirectory which will contain tests to run
as executable files, add a helper script.

Add a timeout test that verifies that gitconfig completes in under two
seconds (typical run time is ~30 ms). Add gitconfig tests to the
`testing` Makefile under the `test-tools` target.

Change-Id: Id46f905b9f782e67be97a65d10045c3345dc996b
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23280
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/gitconfig/test/helpers.sh [new file with mode: 0644]
util/gitconfig/test/timeout.sh [new file with mode: 0755]
util/testing/Makefile.inc