diff options
Diffstat (limited to 'test-keygen.sh')
-rwxr-xr-x | test-keygen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test-keygen.sh b/test-keygen.sh index 747685e..abbe702 100755 --- a/test-keygen.sh +++ b/test-keygen.sh | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | (cd kiki && make install) | ||
2 | out=TEST_CHILD.$(date +%s) | 3 | out=TEST_CHILD.$(date +%s) |
3 | log=${out}.log | 4 | log=${out}.log |
4 | [ ! -e "$out" ] || exit | 5 | [ ! -e "$out" ] || exit |
@@ -11,6 +12,7 @@ r=$? | |||
11 | case $r in | 12 | case $r in |
12 | 0) exit ;; | 13 | 0) exit ;; |
13 | *) echo "FAILED! (r=$r)" >&2 | 14 | *) echo "FAILED! (r=$r)" >&2 |
15 | printf 'Log in "%s" ends in:\n' "$log" >&3 | ||
14 | tail "$log" >&3 | 16 | tail "$log" >&3 |
15 | exit $r | 17 | exit $r |
16 | ;; | 18 | ;; |