t1300: Fix test cases for non-fast-forward pushes
commite0d3fbfdf1fa421800051c265e1f4f2f9d2466cb
authorLukas Fleischer <lfleischer@archlinux.org>
Tue, 8 Aug 2017 13:26:59 +0000 (8 15:26 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Tue, 8 Aug 2017 13:28:40 +0000 (8 15:28 +0200)
tree955a3b7fb5a5c3f209f4002c663342e8bf377481
parent449909a872f738043890f521fcc297265836c983
t1300: Fix test cases for non-fast-forward pushes

Since commit c5302d3 (Require TUs to explicitly request to overwrite a
pkgbase, 2017-07-24), non-fast-forward pushes are denied even for
Trusted Users, unless the AUR_OVERWRITE environment variable is set.
Mark the test case performing a non-fast-forward push from a TU
account as test_must_fail and add another test case performing the
same operation with AUR_OVERWRITE=1.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
test/t1300-git-update.sh