summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/TESTS
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2016-02-03 14:23:41 +0100
committerAllan McRae <allan@archlinux.org>2016-02-21 08:10:11 +0100
commitfd936c9e732348ed754087576d67d1b2fe04afd4 (patch)
treef84112e4add9fde9dc369850c054e4ba4021fcd1 /test/pacman/tests/TESTS
parent169287e494a5348687260a00697be06b36ba4434 (diff)
downloadpacman-fd936c9e732348ed754087576d67d1b2fe04afd4.tar.gz
pacman-fd936c9e732348ed754087576d67d1b2fe04afd4.tar.xz
only remove pacnew file if it is new
Check if we overwrote an exiting pacnew file before unlinking it. Otherwise, updating to a version with an unchanged file would delete existing pacnew files. FS#47993 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/TESTS')
-rw-r--r--test/pacman/tests/TESTS1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pacman/tests/TESTS b/test/pacman/tests/TESTS
index f35ec1a0..acdf769b 100644
--- a/test/pacman/tests/TESTS
+++ b/test/pacman/tests/TESTS
@@ -1,3 +1,4 @@
+TESTS += test/pacman/tests/backup001.py
TESTS += test/pacman/tests/clean001.py
TESTS += test/pacman/tests/clean002.py
TESTS += test/pacman/tests/clean003.py