summaryrefslogtreecommitdiff
path: root/test-keygen.sh
blob: 0185e140feb592ff5a992dd7ac18f80d00dc3dbf (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
out=TEST_CHILD.$(date +%s)
log=${out}.log
[ ! -e "$out" ] || exit
exec >"$log" 2>&1
apt-cache policy gnupg
ps -C gpg-agent
sudo ${PARENT_ROOT:+"PARENT_ROOT=$PARENT_ROOT"} bash -c 'time bash -x ./src/keygen.sh "$1"' bash "$out"