diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-27 00:04:38 +0200 |
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-27 00:04:38 +0200 |
| commit | 858994d9c8c97c4cd027b270c4e623da53d49da1 (patch) | |
| tree | 05dcde745d316dde35be8ea1d669f31e4a18e307 /t | |
| parent | 446abf9a19edee4b807d617661467bb2f38ad1dc (diff) | |
| download | sbotools2-858994d9c8c97c4cd027b270c4e623da53d49da1.tar.xz | |
01-unit.t: make sure to skip peform_sbo tests if /foo exists
Diffstat (limited to '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'); |
