summaryrefslogtreecommitdiffstats
path: root/t/superuser--rpmnew.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 15:01:22 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-28 20:58:59 +0200
commit7e61200dc4867f5b25d44c0d4d62ebb6525be1fa (patch)
tree3b8f171b04f68474956f7a1f78559e16f34ad15f /t/superuser--rpmnew.t
parentef70ebb63a9ca9fb1215d0a0d5f46dbbfa82f6fd (diff)
downloadurpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar
urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.gz
urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.bz2
urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.tar.xz
urpmi-7e61200dc4867f5b25d44c0d4d62ebb6525be1fa.zip
describe more tests to help pinpoint regressions
Diffstat (limited to 't/superuser--rpmnew.t')
-rw-r--r--t/superuser--rpmnew.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/superuser--rpmnew.t b/t/superuser--rpmnew.t
index cb6e3e31..18012cd6 100644
--- a/t/superuser--rpmnew.t
+++ b/t/superuser--rpmnew.t
@@ -60,9 +60,9 @@ sub test3 {
check_one_content('<removed>', 'config.rpmorig', 'foo');
check_one_content('<removed>', 'config-noreplace.rpmsave', 'foo');
check_one_content('<removed>', 'config-noreplace.rpmnew', 'changed');
- ok(unlink "$::pwd/root/etc/config.rpmorig");
- ok(unlink "$::pwd/root/etc/config-noreplace.rpmsave");
- ok(unlink "$::pwd/root/etc/config-noreplace.rpmnew");
+ ok(unlink("$::pwd/root/etc/config.rpmorig"), 'unlink .rpmorig');
+ ok(unlink("$::pwd/root/etc/config-noreplace.rpmsave"), 'unlink .rpmsave');
+ ok(unlink("$::pwd/root/etc/config-noreplace.rpmnew"), 'unlink .rpmnew');
check_no_etc_files();
}