X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=test%2F004%2Ftest.py;fp=test%2F004%2Ftest.py;h=86aad8a697f8c5ffdcd6adcef82df79af7e1f1d0;hb=78befa37b00844cba4aa2fb8adf74d487d02e017;hp=e0a02d6031f45eb8a95a2287b7501a765e5131ba;hpb=cb4249af779812e8fc9a3f61464d06a75221125f;p=dak.git diff --git a/test/004/test.py b/test/004/test.py index e0a02d60..86aad8a6 100755 --- a/test/004/test.py +++ b/test/004/test.py @@ -2,7 +2,7 @@ # Check utils.extract_component_from_section() # Copyright (C) 2000 James Troup -# $Id: test.py,v 1.1 2001-06-10 16:35:04 troup Exp $ +# $Id: test.py,v 1.2 2002-01-19 18:58:07 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -107,6 +107,16 @@ def main (): input = "utIls"; output = ("utIls", "main"); test (input, output); + # Others.. + input = "non-US/libs"; output = ("non-US/libs", "non-US/main"); + test (input, output); + input = "non-US/main/libs"; output = ("non-US/main/libs", "non-US/main"); + test (input, output); + input = "non-US/contrib/libs"; output = ("non-US/contrib/libs", "non-US/contrib"); + test (input, output); + input = "non-US/non-free/libs"; output = ("non-US/non-free/libs", "non-US/non-free"); + test (input, output); + ################################################################################ if __name__ == '__main__':