aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2019-01-07 15:54:14 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2019-01-07 15:54:14 +0100
commit48841b1a9ec15f0b7607f9f480a93a146458630b (patch)
treeb316f92c54f0b2615db1d820bf74002d6b9a5d38 /build
parent0abaa62498f491423c5b0945fcfac224e2f74b0f (diff)
downloadlibnitrokey-48841b1a9ec15f0b7607f9f480a93a146458630b.tar.gz
libnitrokey-48841b1a9ec15f0b7607f9f480a93a146458630b.tar.bz2
Be less verbose in libnk test case summary137-stick_hangs
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/test_137-wrapper13
1 files changed, 8 insertions, 5 deletions
diff --git a/build/test_137-wrapper b/build/test_137-wrapper
index 98ac0d0..753d8c3 100755
--- a/build/test_137-wrapper
+++ b/build/test_137-wrapper
@@ -10,20 +10,23 @@
# make -f ./test_137-wrapper DELAY=90
DELAY ?= 1
+TEST=./test_137
+GPG=[[ `gpg2 --decrypt test.gpg | wc -c` -gt 0 ]]
+
test:
echo "DELAY=${DELAY}"
gpg2 --version
git describe --long
echo "start"
- ./test_137 -s
+ ${TEST}
sleep ${DELAY}
- [[ `gpg2 --decrypt test.gpg | wc -c` -gt 0 ]]
+ ${GPG}
sleep ${DELAY}
- ./test_137 -s
+ ${TEST}
sleep ${DELAY}
- [[ `gpg2 --decrypt test.gpg | wc -c` -gt 0 ]]
+ ${GPG}
sleep ${DELAY}
- ./test_137 -s
+ ${TEST}
.PHONY: test