summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-03-13 06:32:47 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-03-13 06:35:41 +0100
commit044310b6398b4e0e914deda00509ad86febc521b (patch)
treeb608816e459769c772b94e8dc8670c318d1c4060
parent3a94565c4bc80ba82012a164c00fa3a0b7e6d891 (diff)
Test grsource with nonexistent file
Just for completeness.
-rw-r--r--tests/Klocation5
-rw-r--r--testsuite.py2
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")