Jack Nagel 7e6c274f81 test_bucket: don't try to clean a non-existent keg
It is a no-op under Ruby 1.8 but Pathname#find raises ENOENT if the
directory doesn't exist under 1.9. But we really shouldn't try to clean
a non-existent keg anyway, and FormulaInstaller will have bailed out
long before the clean step if the keg doesn't exist, so lets just not
even test this condition; the cleaner has its own tests anyway.

Alternatively we can adjust the cleaner to handle this case, but I don't
see much value in that.

n.b. with this, the tests now pass under 1.9.3 (for me), which is nice
because I often run them on that version inadvertently.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-27 17:50:13 -05:00
..
2012-06-16 11:43:43 -05:00
2010-04-06 08:27:10 -07:00
2012-08-30 00:10:02 -05:00
2012-07-04 22:47:34 -05:00
2012-09-27 16:24:04 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2012-08-30 00:10:02 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00
2012-07-04 22:47:34 -05:00