aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/gpgscm/scheme.c8
-rw-r--r--tests/gpgscm/tests.scm2
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index 7cd521741..c4725dbb4 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -3364,11 +3364,9 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) {
}
}
if (x == sc->NIL) {
- /*--
- * if (y != sc->NIL) {
- * Error_0(sc,"too many arguments");
- * }
- */
+ if (y != sc->NIL) {
+ Error_0(sc, "too many arguments");
+ }
} else if (is_symbol(x))
new_slot_in_env(sc, x, y);
else {
diff --git a/tests/gpgscm/tests.scm b/tests/gpgscm/tests.scm
index 5954704bf..e5858d960 100644
--- a/tests/gpgscm/tests.scm
+++ b/tests/gpgscm/tests.scm
@@ -610,7 +610,7 @@
(seek logfd 0 SEEK_SET)
(splice logfd STDERR_FILENO)
(close logfd))
- (echo (string-append (status retcode) ":") name))))))
+ (echo (string-append (status) ":") name))))))
;; Run the setup target to create an environment, then run all given
;; tests in parallel.