summaryrefslogtreecommitdiff
path: root/tests/keyctl/supports/valid/runtest.sh
blob: 2c62ef2cb50c22b77a37c7c40d3da99362802b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

. ../../../prepare.inc.sh
. ../../../toolbox.inc.sh


# ---- do the actual testing ----

result=PASS
echo "++++ BEGINNING TEST" >$OUTPUTFILE

# Check that listing caps works
marker "LIST CAPS"
supports

# check that querying a cap works
marker "QUERY CAP"
supports --unrecognised xxx

echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE

# --- then report the results in the database ---
toolbox_report_result $TEST $result