src/tests/cli/t_pkg_search.py
changeset 1516 8c950a3b4171
parent 1492 11e467a501b0
child 1672 3a71439a03f3
equal deleted inserted replaced
1515:b987b1a759cb 1516:8c950a3b4171
     1 #!/usr/bin/python2.4
     1 #!/usr/bin/python
     2 #
     2 #
     3 # CDDL HEADER START
     3 # CDDL HEADER START
     4 #
     4 #
     5 # The contents of this file are subject to the terms of the
     5 # The contents of this file are subject to the terms of the
     6 # Common Development and Distribution License (the "License").
     6 # Common Development and Distribution License (the "License").
    49 
    49 
    50         example_pkg10 = """
    50         example_pkg10 = """
    51             open [email protected],5.11-0
    51             open [email protected],5.11-0
    52             add dir mode=0755 owner=root group=bin path=/bin
    52             add dir mode=0755 owner=root group=bin path=/bin
    53             add dir mode=0755 owner=root group=bin path=/bin/example_dir
    53             add dir mode=0755 owner=root group=bin path=/bin/example_dir
    54             add dir mode=0755 owner=root group=bin path=/usr/lib/python2.4/vendor-packages/OpenSSL
    54             add dir mode=0755 owner=root group=bin path=/usr/lib/python2.6/vendor-packages/OpenSSL
    55             add file /tmp/example_file mode=0555 owner=root group=bin path=/bin/example_path
    55             add file /tmp/example_file mode=0555 owner=root group=bin path=/bin/example_path
    56             add set name=com.sun.service.incorporated_changes value="6556919 6627937"
    56             add set name=com.sun.service.incorporated_changes value="6556919 6627937"
    57             add set name=com.sun.service.random_test value=42 value=79
    57             add set name=com.sun.service.random_test value=42 value=79
    58             add set name=com.sun.service.bug_ids value="4641790 4725245 4817791 4851433 4897491 4913776 6178339 6556919 6627937"
    58             add set name=com.sun.service.bug_ids value="4641790 4725245 4817791 4851433 4897491 4913776 6178339 6556919 6627937"
    59             add set name=com.sun.service.keywords value="sort null -n -m -t sort 0x86 separator"
    59             add set name=com.sun.service.keywords value="sort null -n -m -t sort 0x86 separator"
    92             "path       dir       bin                       pkg:/[email protected]\n"
    92             "path       dir       bin                       pkg:/[email protected]\n"
    93         ])
    93         ])
    94 
    94 
    95         res_remote_openssl = set([
    95         res_remote_openssl = set([
    96             headers,
    96             headers,
    97             "basename   dir       usr/lib/python2.4/vendor-packages/OpenSSL pkg:/[email protected]\n"
    97             "basename   dir       usr/lib/python2.6/vendor-packages/OpenSSL pkg:/[email protected]\n"
    98         ])
    98         ])
    99 
    99 
   100         res_remote_bug_id = set([
   100         res_remote_bug_id = set([
   101             headers,
   101             headers,
   102             "com.sun.service.bug_ids set       4851433                   pkg:/[email protected]\n"
   102             "com.sun.service.bug_ids set       4851433                   pkg:/[email protected]\n"