]> arthur.barton.de Git - bup.git/commit
Add a force-delete function to t/test.sh
authorRyan Brown <ryan.sc.brown@gmail.com>
Thu, 7 Mar 2013 02:48:23 +0000 (21:48 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 8 Mar 2013 02:43:28 +0000 (20:43 -0600)
commiteec99dfbed05d465a7301edc05a982b473c13c98
treef06e5b0ef1854489a011ac66291030acfbdfb293
parentc532cf07abbff52a0506bf2baf58a35f32f0981d
Add a force-delete function to t/test.sh

Replace "rm -rf" with force-delete because "rm -rf" will proceed even
if it doesn't succeed.  This masked a problem (reported on Fedora)
where the root directory and other system directories had "r-xr-xr-x"
(0555) permissions, causing bup restore to create directories that "rm
-rf" couldn't remove.  As a result, subsequent tests would fail.

Signed-off-by: Ryan Brown <ryansb@csh.rit.edu>
[rlb@defaultvalue.org: edited commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test.sh