aboutsummaryrefslogtreecommitdiffstats
path: root/extension/testext.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-03-27 06:32:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-03-27 06:32:13 +0300
commit9d43b510f74f63806279ce40f65245ea7e5b0d53 (patch)
tree9ca3e70190325400684cfde33946017a0de334a8 /extension/testext.c
parentbc1c92f4a9365f799c9c7a78b41a4eb1c40326b7 (diff)
downloadegawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.tar.gz
egawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.tar.bz2
egawk-9d43b510f74f63806279ce40f65245ea7e5b0d53.zip
Some more cleanups. Ready to merge!
Diffstat (limited to 'extension/testext.c')
-rw-r--r--extension/testext.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/extension/testext.c b/extension/testext.c
index 8a906c67..e2ddbe87 100644
--- a/extension/testext.c
+++ b/extension/testext.c
@@ -374,6 +374,17 @@ out:
return result;
}
+/*
+ * 3/2015: This test is no longer strictly necessary,
+ * since PROCINFO is no longer a deferred variable.
+ * But we leave it in for safety, anyway.
+ */
+/*
+BEGIN {
+ print "test_deferred returns", test_deferred()
+ print ""
+}
+*/
static awk_value_t *
test_deferred(int nargs, awk_value_t *result)
{
@@ -1037,6 +1048,7 @@ static awk_bool_t init_testext(void)
static const char message[] = "hello, world"; /* of course */
static const char message2[] = "i am a scalar";
+ /* This is used by the getfile test */
if (sym_lookup("TESTEXT_QUIET", AWK_NUMBER, & value))
return awk_true;