sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 858994d9c8c97c4cd027b270c4e623da53d49da1
parent 446abf9a19edee4b807d617661467bb2f38ad1dc
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Fri, 27 May 2016 00:04:38 +0200

01-unit.t: make sure to skip peform_sbo tests if /foo exists

Diffstat:
Mt/01-unit.t | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/01-unit.t b/t/01-unit.t @@ -280,7 +280,9 @@ SKIP: { } # 50-52: test perform_sbo(); -{ +SKIP: { + skip 'Tests invalid if /foo exists.', 3 if -e "/foo"; + my @res = SBO::Lib::perform_sbo(JOBS => 'FALSE', LOCATION => '/foo', ARCH => 1); is ($res[0], "Unable to backup /foo/foo.SlackBuild to /foo/foo.SlackBuild.orig\n", 'perform_sbo returned correct pkg');