diff options
Diffstat (limited to 'test/t/test_upgradepkg.py')
-rw-r--r-- | test/t/test_upgradepkg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/t/test_upgradepkg.py b/test/t/test_upgradepkg.py index ada84f1c..4c72a158 100644 --- a/test/t/test_upgradepkg.py +++ b/test/t/test_upgradepkg.py @@ -22,12 +22,12 @@ class TestUpgradepkg: [ "%s/" % x for x in os.listdir("slackware/home") - if os.path.isdir("./%s" % x) + if os.path.isdir("./slackware/home/%s" % x) ] + [ x for x in os.listdir("slackware/home") - if os.path.isfile("./%s" % x) + if os.path.isfile("./slackware/home/%s" % x) and fnmatch.fnmatch(x, "*.t[bglx]z") ] ) |