Home | History | Annotate | Download | only in auth
      1 ## this tests that a client can fallback to a secondary auth mech 
      2 
      3 CLIENT
      4 
      5 ## Will try EXTERNAL by default first without first calling AUTH alone.
      6 
      7 EXPECT_COMMAND AUTH
      8 SEND 'REJECTED EXTERNAL DBUS_COOKIE_SHA1 DBUS_TEST_NONEXISTENT_MECH'
      9 
     10 ## And this time we get DBUS_COOKIE_SHA1
     11 
     12 EXPECT_COMMAND AUTH
     13 ## of course real DBUS_COOKIE_SHA1 would not send this here...
     14 SEND 'OK 1234deadbeef'
     15 
     16 EXPECT_COMMAND BEGIN
     17 EXPECT_STATE AUTHENTICATED
     18