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

« back to all changes in this revision

Viewing changes to .pc/0014-Conditionalize-tests-based-on-kernel-version.patch/tests/keyctl/invalidate/noargs/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:
 
1
#!/bin/sh
 
2
 
 
3
. ../../../prepare.inc.sh
 
4
. ../../../toolbox.inc.sh
 
5
 
 
6
 
 
7
# ---- do the actual testing ----
 
8
 
 
9
result=PASS
 
10
echo "++++ BEGINNING TEST" >$OUTPUTFILE
 
11
 
 
12
# check that no arguments fails correctly
 
13
marker "NO ARGS"
 
14
expect_args_error keyctl invalidate
 
15
 
 
16
# check that two arguments fail correctly
 
17
marker "TWO ARGS"
 
18
expect_args_error keyctl invalidate 0 0
 
19
 
 
20
echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE
 
21
 
 
22
# --- then report the results in the database ---
 
23
toolbox_report_result $TEST $result