commit | 0e578d00df764f0dc3e6ad2b26f535e92bb2ae1a | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu Apr 07 23:54:52 2022 +0200 |
committer | Gerrit Code Review <gerrit@gerrit.cesnet.cz> | Thu Apr 07 23:54:52 2022 +0200 |
tree | 3edbcbdc6113dab8d2b2dcb97640166f948f572f | |
parent | e066fe2037777fb034521b23761192902f793027 [diff] | |
parent | 5e1bb4a75c9e006c965b4aa4f592a0d1c270d82d [diff] |
Merge "tests: init: Also try to uninstall the module"
diff --git a/tests/init_datastore.bash.in b/tests/init_datastore.bash.in index d8eb2c3..1e01346 100755 --- a/tests/init_datastore.bash.in +++ b/tests/init_datastore.bash.in
@@ -21,6 +21,9 @@ YANG_DIR=$(dirname "$1") shift +# Uninstall the module +"$SYSREPOCTL" --uninstall "$(basename "$MODULE" ".yang")" -v3 || true + # Install the module "$SYSREPOCTL" --search-dirs "$YANG_DIR" --install "$MODULE" -v3