summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/non-interactive/path.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yanglint/non-interactive/path.test')
-rw-r--r--tests/yanglint/non-interactive/path.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/yanglint/non-interactive/path.test b/tests/yanglint/non-interactive/path.test
new file mode 100644
index 0000000..bf915ff
--- /dev/null
+++ b/tests/yanglint/non-interactive/path.test
@@ -0,0 +1,9 @@
+source [expr {[info exists ::env(TESTS_DIR)] ? "$env(TESTS_DIR)/non-interactive/ly.tcl" : "ly.tcl"}]
+
+set mdir $env(YANG_MODULES_DIR)
+
+test path_basic {} {
+ ly_cmd "-p $::env(TESTS_DIR)/data $::env(YANG_MODULES_DIR)/modimp-path.yang"
+} {}
+
+cleanupTests