Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Allow gather mode test to work as a user
Baptiste Daroussin committed 11 years ago
commit bf9c7aa3c7c6eb9c6c2f5b43467938d7ec973ab8
parent 134bda4
1 file changed +2 -2
modified tests/frontend/create.shin
@@ -120,7 +120,7 @@ create_from_plist_gather_mode_body() {

	preparetestcredentials "(plop,bla,)"

-
	chmod 2755 file1 || atf_fail "Impossible to change mode"
+
	chmod 777 file1 || atf_fail "Impossible to change mode"

	atf_check \
		-o empty \
@@ -129,7 +129,7 @@ create_from_plist_gather_mode_body() {
		pkg create -o ${TMPDIR} -m . -p test.plist -r .

	atf_check \
-
		-o match:"-rwxr-sr-x .*plop +bla.* /file1$" \
+
		-o match:"-rwxrwxrwx .*plop +bla.* /file1$" \
		-e empty \
		-s exit:0 \
		tar tvf test-1.txz