Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
tests: Updtae test after the change of behaviour of pkg upgrade -n
Baptiste Daroussin committed 5 years ago
commit d9d925be6dcd8149978981b1951a00133bc9c2dd
parent 9c2b402
1 file changed +3 -2
modified tests/frontend/autoupgrade.sh
@@ -40,8 +40,9 @@ EOF

	atf_check \
		-o match:".*New version of pkg detected.*" \
-
		-s exit:1 \
-
		pkg -o REPOS_DIR="$TMPDIR/repoconf" -o PKG_CACHEDIR="$TMPDIR" upgrade -n
+
		-e ignore \
+
		-s exit:0 \
+
		pkg -o REPOS_DIR="$TMPDIR/repoconf" -o PKG_CACHEDIR="$TMPDIR" upgrade -y
}

autoupgrade_multirepo_head() {