skip ./sess_opstate test with swtok

This commit is contained in:
Karel Srot 2022-03-14 11:48:37 +01:00
commit ec797adf72

View file

@ -187,12 +187,17 @@ rlJournalStart
[ $RESULT -gt 0 ] && echo -e "Test log:\n" && cat $TmpDir/testlog.$ID
done
# now run additiona tests with specific
# now run additional tests with specific output
#sess_opstate
# skip if using swtok since the test is being skipped with
# TESTCASE sess_opstate_funcs SKIP Get/SetOperationState digest test: state unsavable
ID=`get_test_id`
rlRun "./sess_opstate -slot $SLOT &> $TmpDir/testlog.$ID"
[ $? -gt 0 ] && echo -e "Test log:\n" && cat $TmpDir/testlog.$ID # print log in case of error
rlAssertGrep "TESTCASE sess_opstate_funcs PASS" $TmpDir/testlog.$ID
if [ "$SLOT" != "3" ]; then
rlRun "./sess_opstate -slot $SLOT &> $TmpDir/testlog.$ID"
[ $? -gt 0 ] && echo -e "Test log:\n" && cat $TmpDir/testlog.$ID # print log in case of error
rlAssertGrep "TESTCASE sess_opstate_funcs PASS" $TmpDir/testlog.$ID
fi
#getobjectsize
ID=`get_test_id`