diff --git a/tools/test.zsh b/tools/test.zsh index e3a43af..9309a36 100644 --- a/tools/test.zsh +++ b/tools/test.zsh @@ -34,6 +34,14 @@ dfs version test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id` # clean -dfs cd git reset --hard $DFS_VERSION + +# then check install.sh +./install.sh -l +dfs version +test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id` + +# clean +git reset --hard $DFS_VERSION + set +x \ No newline at end of file