ofdbus/dbus/data/auth/cancel.auth-script
author hgs
Tue, 20 Jul 2010 16:35:53 +0530
changeset 44 97b0fb8a2cc2
parent 0 e4d67989cc36
permissions -rw-r--r--
201025

## 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