From 044310b6398b4e0e914deda00509ad86febc521b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 13 Mar 2018 06:32:47 +0100 Subject: Test grsource with nonexistent file Just for completeness. --- tests/Klocation | 5 +++-- testsuite.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Klocation b/tests/Klocation index 99a8ee0..d3ac09c 100644 --- a/tests/Klocation +++ b/tests/Klocation @@ -71,7 +71,8 @@ gsource "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]" # tests/sub/Klocation_grsourced{1,2} grsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]" -# No-op -gsource "nonexisting file" +# No-ops +gsource "nonexistent file" +grsource "nonexistent file" config MULTI_DEF diff --git a/testsuite.py b/testsuite.py index b3f43b4..39fdce6 100644 --- a/testsuite.py +++ b/testsuite.py @@ -827,7 +827,7 @@ g "tests/sub/Klocation_gsourced2:1", "tests/sub/Klocation_grsourced1:1", "tests/sub/Klocation_grsourced2:1", - "tests/Klocation:77") + "tests/Klocation:78") verify_locations(c.named_choices["CHOICE"].nodes, "tests/Klocation_sourced:5") -- cgit v1.2.3