ofdbus/dbus/data/auth/cancel.auth-script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 02:01:42 +0200
changeset 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201002 Kit: 201005

## this tests canceling SYMBIAN_PLATFORM_SECURITY

SERVER
SEND 'AUTH SYMBIAN_DBUS_PLATFORM_SECURITY PROCESS_SID'
EXPECT_COMMAND DATA
EXPECT_STATE WAITING_FOR_INPUT
SEND 'CANCEL'
EXPECT_COMMAND REJECTED
EXPECT_STATE WAITING_FOR_INPUT

## now start over and see if it works
SEND 'AUTH SYMBIAN_DBUS_PLATFORM_SECURITY PROCESS_SID'
EXPECT_COMMAND DATA
EXPECT_STATE WAITING_FOR_INPUT
SEND 'DATA PROCESS_PID'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN'
EXPECT_STATE AUTHENTICATED