Changeset 1006 for box/trunk/test/backupstore/testbackupstore.cpp
- Timestamp:
- 12/10/2006 23:23:32 (6 years ago)
- File:
-
- 1 edited
-
box/trunk/test/backupstore/testbackupstore.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/backupstore/testbackupstore.cpp
r1005 r1006 932 932 TEST_THAT(loginConf->GetClientStoreMarker() == 0); 933 933 934 #ifndef WIN32 934 935 // Check that we can't open a new connection which requests write permissions 935 936 { … … 943 944 protocol.QueryFinished(); 944 945 } 946 #endif 945 947 946 948 // Set the client store marker 947 949 protocol.QuerySetClientStoreMarker(0x8732523ab23aLL); 948 950 951 #ifndef WIN32 949 952 // Open a new connection which is read only 950 953 SocketStreamTLS connReadOnly; … … 965 968 TEST_THAT(loginConf->GetClientStoreMarker() == 0x8732523ab23aLL); 966 969 } 970 #else // WIN32 971 BackupProtocolClient& protocolReadOnly(protocol); 972 #endif 967 973 968 974 test_server_1(protocol, protocolReadOnly); 969 970 975 971 976 // Create and upload some test files … … 1440 1445 1441 1446 // Finish the connections 1447 #ifndef WIN32 1442 1448 protocolReadOnly.QueryFinished(); 1449 #endif 1443 1450 protocol.QueryFinished(); 1444 1451 1445 1452 // Close logs 1453 #ifndef WIN32 1446 1454 ::fclose(protocolReadOnlyLog); 1455 #endif 1447 1456 ::fclose(protocolLog); 1448 1457 }
Note: See TracChangeset
for help on using the changeset viewer.
