diff options
Diffstat (limited to 't/01-unit.t')
-rwxr-xr-x | t/01-unit.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/01-unit.t b/t/01-unit.t index 1e09fb1..d25f014 100755 --- 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'); |