~ubuntu-branches/ubuntu/wily/keyutils/wily

« back to all changes in this revision

Viewing changes to tests/keyctl/search/valid/runtest.sh

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-10-16 11:45:19 UTC
  • mfrom: (1.1.7) (10.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20141016114519-cqt8zwrg92c31m31
Tags: 1.5.9-5ubuntu1
Disable the tests, hanging on the distro buildd kernels (12.04 LTS).
Verified that the tests succeed with the 14.04 LTS kernels.
Addresses: LP: #1381973.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
# revoking the key should make the key unavailable
162
162
revoke_key $keyid2
163
163
search_for_key --fail $keyringid user lizard
164
 
expect_error EKEYREVOKED
 
164
kver=`uname -r`
 
165
case $kver in
 
166
    *.el7*)
 
167
        expect_error EKEYREVOKED
 
168
        ;;
 
169
    *)
 
170
        if version_less_than `uname -r` 3.13
 
171
        then
 
172
            expect_error ENOKEY
 
173
        else
 
174
            expect_error EKEYREVOKED
 
175
        fi
 
176
        ;;
 
177
esac
165
178
 
166
179
# remove the keyrings we added
167
180
marker "UNLINK KEYRING"