// SYSLIB-CENTRALREPOSITORY-SWI-BUR-CIT-0001
// Check that KSX does not yet exist.
[BeforeWeStart]
RepositoryKey=E02819FC
RepositoryPresent=0

// Install AppX and KSX via embedded sis in APPXs.sis
[Install_KSX]
sis=z:\TEF_CentralRepository\APPXs.sis
numexist=2
exist0=C:\private\10202be9\E02819FC.cre
exist1=C:\private\10202be9\persists\E02819FC.cre
Affected0=C:\private\10202be9\E02819FC.cre
Affected1=C:\private\10202be9\persists\E02819FC.cre

// Check the ROM keyspace 'KSX'
[AfterInstall_KSX]
RepositoryKey=E02819FC
ExpectedNumSettings=1
NumInts=1
IntKey0=100
IntVal0=1000

// User mods KSX to give the KSXM keyspace...
[UserModGives_KSXM]
RepositoryKey=E02819FC
NumInts=1
IntKey0=100
IntVal0=1001
Intfn0=set
IntExpErr0=KErrNone

[Backup_Restore_KSXB]
BackupDir=c:\BackupArchive\
IsPartial=1
BaseOnly=1
DriveList=c
// SID=E02819FC, PID=E0202be9, CENTREP STUB PID=102819fc, CENTREP SID=10202BE9
IDs=E0202be9,102819fc

// Check the ROM keyspace 'KSXB' after restore
[AfterRestore_KSXB]
RepositoryKey=E02819FC
ExpectedNumSettings=1
NumInts=1
IntKey0=100
IntVal0=1001

// User resets the value 
[UserModGives_KSXR]
RepositoryKey=E02819FC
NumInts=1
IntKey0=100
Intfn0=reset
IntExpErr0=KErrNone

// Check the ROM keyspace 'KSXR', it should be back to the orig value in KSX
[AfterReset_KSX]
RepositoryKey=E02819FC
ExpectedNumSettings=1
NumInts=1
IntKey0=100
IntVal0=1000

// SYSLIB-CENTRALREPOSITORY-SWI-BUR-CIT-0002
// Uninstall KSXR == KSX 
[Uninstall_KSXR]
uid=E0202be9
numnonexist=2
nonexist0=C:\private\10202be9\E02819FC.cre
nonexist1=C:\private\10202be9\persists\E02819FC.cre
