aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cfg-create.testscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/cfg-create.testscript b/tests/cfg-create.testscript
index f7a2879..2403085 100644
--- a/tests/cfg-create.testscript
+++ b/tests/cfg-create.testscript
@@ -72,4 +72,16 @@ EOE
$pkg_status libfoo >'libfoo unknown'
}
+
+ : existing
+ :
+ {
+ $build 'create(cfg/,cc)' "config.cxx=$config.cxx" 2>!;
+
+ $* --existing 2>>/~%EOE%;
+ %initialized existing configuration in .+/cfg/%
+ EOE
+
+ $pkg_status libfoo >'libfoo unknown'
+ }
}