From 44025437f45b1def2c0c65366b61691469f00dff Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Oct 2012 03:20:22 -0400 Subject: Improve format of "ob_parse_dep" test data. --- (limited to 'tests/ob_parse_dep.rc') diff --git a/tests/ob_parse_dep.rc b/tests/ob_parse_dep.rc new file mode 100644 index 0000000..fd0a8ed --- /dev/null +++ b/tests/ob_parse_dep.rc @@ -0,0 +1,87 @@ +dep='foo' +pkg='foo' +archqual='' +rel='' +ver='' +arches='' +testcase + +dep='foo:core-linux-eglibc' +pkg='foo' +archqual='core-linux-eglibc' +rel='' +ver='' +arches='' +testcase + +dep='foo (>= 1.0)' +pkg='foo' +archqual='' +rel='>=' +ver='1.0' +arches='' +testcase + +dep='foo(>=1.0)' +pkg='foo' +archqual='' +rel='>=' +ver='1.0' +arches='' +testcase + +dep='foo (>= 1.0)' +pkg='foo' +archqual='' +rel='>=' +ver='1.0' +arches='' +testcase + +dep='foo [core-linux-eglibc]' +pkg='foo' +archqual='' +rel='' +ver='' +arches='core-linux-eglibc' +testcase + +dep='foo[core-linux-eglibc]' +pkg='foo' +archqual='' +rel='' +ver='' +arches='core-linux-eglibc' +testcase + +dep='foo [core-linux-eglibc]' +pkg='foo' +archqual='' +rel='' +ver='' +arches='core-linux-eglibc' +testcase + +dep='foo:core-linux-eglibc (>= 1.0) [core-linux-eglibc]' +pkg='foo' +archqual='core-linux-eglibc' +rel='>=' +ver='1.0' +arches='core-linux-eglibc' +testcase + +dep='foo:core-linux-eglibc(>=1.0)[core-linux-eglibc]' +pkg='foo' +archqual='core-linux-eglibc' +rel='>=' +ver='1.0' +arches='core-linux-eglibc' +testcase + +dep='foo:core-linux-eglibc (>= 1.0) [core-linux-eglibc]' +pkg='foo' +archqual='core-linux-eglibc' +rel='>=' +ver='1.0' +arches='core-linux-eglibc' +testcase -- cgit v0.9.1