Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Ignore stderr from tar: this makes the test pass with gtar
Baptiste Daroussin committed 10 years ago
commit 5ab0f2d51003217b068f79243051a91597e688af
parent 1467c16
1 file changed +6 -6
modified tests/frontend/create.sh
@@ -68,7 +68,7 @@ create_from_plist_body() {
	basic_validation
	atf_check \
		-o match:"-rw-r--r-- .*root +wheel.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}
@@ -86,7 +86,7 @@ create_from_plist_set_owner_body() {
	basic_validation
	atf_check \
		-o match:"-rw-r--r-- .*plop +wheel.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}
@@ -104,7 +104,7 @@ create_from_plist_set_group_body() {
	basic_validation
	atf_check \
		-o match:"-rw-r--r-- .*root +bla.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}
@@ -124,7 +124,7 @@ create_from_plist_gather_mode_body() {
	basic_validation
	atf_check \
		-o match:"-rwxrwxrwx .*plop +bla.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}
@@ -142,7 +142,7 @@ create_from_plist_set_mode_body() {
	basic_validation
	atf_check \
		-o match:"-rwxr-sr-x .*root +wheel.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}
@@ -160,7 +160,7 @@ create_from_plist_mini_body() {
	basic_validation
	atf_check \
		-o match:"-rw-r--r-- .*plop +wheel.* /file1$" \
-
		-e empty \
+
		-e ignore \
		-s exit:0 \
		tar tvf test-1.txz
}