Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add a regesssion test to ensure the timestamp packaged are correct by default
Baptiste Daroussin committed 6 years ago
commit 218a609d1e79a3dfcf1ea846d54997897ce4c79d
parent 7e9ecf3
1 file changed +5 -0
modified tests/frontend/create.sh
@@ -467,6 +467,7 @@ files: {
}
EOF
	touch a
+
	pattern=$(ls -l a | awk '{print $6" +"$7" +"$8".*/a"}')
	atf_check pkg create -M test.ucl
	atf_check env SOURCE_DATE_EPOCH=86400 pkg create -M test.ucl
	atf_check \
@@ -481,4 +482,8 @@ EOF
	atf_check \
		-o match:"0 Jan +3 +1970.*/a" \
		tar tvf test-1.txz
+
	atf_check pkg create -M test.ucl
+
	atf_check \
+
		-o match:"${pattern}" \
+
		tar tvf test-1.txz
}