[conversion]
ConversionCmd=-o C:\CentRepConv\1027431B.cre C:\TEF_CentralRepository\1027431B.txt
ConvertToTextCmd=-o C:\CentRepConv\1027431B.txt C:\CentRepConv\1027431B.cre
RepUid=0x1027431B
owner=0x12345

DefaultMeta=0x80000000

NumRangeMeta=2
RangeMeta_0=0x100 0x400 0 0x20
RangeMeta_1=0x1000 0 0x1004 0x40

######################################################################
## .../centralrepository/test/testexecute/convtool/scripts/TSecurityPolicy.pl
## converts capability str from "sid_rd=100 cap_rd=bla,bla" to
## the package (binary) format.
######################################################################

## cap_rd=ReadDeviceData cap_wr=WriteDeviceData
DefaultPolicy=0304FFFFFFFFFFFF 0305FFFFFFFFFFFF

NumRangePolicies=5
# cap_rd=ReadDeviceData cap_wr=NetworkServices
RangePolicy_0=0x100 0x200 0 0304FFFFFFFFFFFF 030DFFFFFFFFFFFF

# cap_rd=AlwaysPass cap_wr=AlwaysPass
RangePolicy_1=0x200 0x300 0 01FFFFFFFFFFFFFF 01FFFFFFFFFFFFFF

# sid_rd=100 sid_wr=100
RangePolicy_2=5 0 0x000FFFFF 04FFFFFF64000000 04FFFFFF64000000

# cap_wr=DRM
RangePolicy_3=0x1000 0x2000 0 "" 0306FFFFFFFFFFFF

# cap_rd=NetworkControl cap_wr=NetworkControl
RangePolicy_4=0x04000000 0x05000000 0 030AFFFFFFFFFFFF 030AFFFFFFFFFFFF

NumSinglePolicies=4
# cap_rd=NetworkServices
SinglePolicy_0=6 0 0 030DFFFFFFFFFFFF ""

# sid_rd=0 sid_wr=10 cap_wr=CommDD,WriteDeviceData
SinglePolicy_1=8 0 0 04FFFFFF00000000 040105FF0A000000

# cap_wr=LocalServices
SinglePolicy_2=0x11 0 0 "" 030EFFFFFFFFFFFF

# cap_rd=DRM
SinglePolicy_3=0x202 0 0 0306FFFFFFFFFFFF ""

NumSettings=14
Setting_0=1 int 1 0
Setting_1=2 real 2.732 0xA
Setting_2=5 binary 74006500730074005C00220073007400720069006E0067002200 2
Setting_3=6 int 12 0xf
Setting_4=8 real 1.5 1
Setting_5=11 binary 73007400720069006E006700 0x305
Setting_6=0x11 real 1.5
Setting_7=0x101 int 100
Setting_8=0x201 int 200 0
Setting_9=0x202 int 200
Setting_10=0x300 binary 48656C6C6F 0
Setting_11=0x1008 binary ""
Setting_12=0x02010100 int 10 0
Setting_13=0x04010100 int -10 0

[conversion2]
ConversionCmd=-o C:\CentRepConv\00000002.cre C:\00000002.txt
ConvertToTextCmd=-o C:\CentRepConv\00000002.txt C:\CentRepConv\00000002.cre
RepUid=0x00000002
NumRangeMeta=0
NumRangePolicies=0

## platsec section is blank
DefaultPolicy=00FFFFFFFFFFFFFF 00FFFFFFFFFFFFFF

NumSinglePolicies=1
# cap_rd=ReadDeviceData cap_wr=WriteDeviceData
SinglePolicy_0=0x327 0 0 0304FFFFFFFFFFFF 0305FFFFFFFFFFFF

NumSettings=1
Setting_0=0x327 int 100 0

[roundtripStartFromTxt]
FirstPair=C:\CentRepConv\1027431B.cr0 C:\1027431B.cre
SecondPair=C:\CentRepConv\1027431B.tx0 C:\1027431B.txt

[generatePersistedCreFile]
RepositoryUid=cccccc00

[roundtripStartFromCre]
FirstPair=C:\CentRepConv\cccccc00.cre C:\cccccc00.cre
SecondPair=C:\CentRepConv\cccccc00.txt C:\CentRepConv\cccccc00.tx0

[TextSrcInZPrivate]
ConversionCmd=-o C:\CentRepConv\00000002.cre Z:\private\10202BE9\00000002.txt
ExpectedResult=fail

[TextSrcInCPrivate]
ConversionCmd=-o C:\CentRepConv\00000002.cre C:\private\10202BE9\00000002.txt
ExpectedResult=fail

[BinSrcInZPrivate]
ConversionCmd=-o C:\CentRepConv\cccccc00.txt Z:\private\10202BE9\cccccc00.cre
ExpectedResult=fail

[BinSrcInCPrivate]
ConversionCmd=-o C:\CentRepConv\00000002.txt C:\private\10202BE9\00000002.cre
ExpectedResult=fail

[BinSrcInPersist]
ConversionCmd=-o C:\CentRepConv\00000002.txt C:\private\10202BE9\persists\00000002.cre
ExpectedResult=fail

[BinOutFileInZ]
ConversionCmd=-o Z:\00000002.cre C:\CentRepConv\00000002.txt
ExpectedResult=fail

[TextOutFileInZ]
ConversionCmd=-o Z:\00000002.txt C:\CentRepConv\00000002.cre
ExpectedResult=fail


[TextOutInPrivate]
ConversionCmd=-o C:\private\10202BE9\00000002.txt C:\CentRepConv\00000002.cre
ExpectedResult=fail

[MismatchCreOutFileName]
ConversionCmd=-o C:\CentRepConv\20000000.cre C:\CentRepConv\00000002.txt
ExpectedResult=fail

[MismatchTxtOutFileName]
ConversionCmd=-o C:\CentRepConv\20000000.txt C:\CentRepConv\00000002.cre
ExpectedResult=fail

[ReadModemRecord1]

[ReadModemRecord2]

[ModemRecordData]

[CorruptedInputTextFile]
ConversionCmd=-o C:\CentRepConv\00000003.cre C:\00000003.txt
ExpectedResult=fail

[CorruptedInputTextFile2]
ConversionCmd=-o C:\CentRepConv\51551bad.cre C:\51551bad.txt
ExpectedResult=fail

[CorruptedInputBinaryFile]
ConversionCmd=-o C:\CentRepConv\00000bad.txt C:\00000bad.cre
ExpectedResult=fail

[CorruptedInputBinaryFile2]
ConversionCmd=-o C:\CentRepConv\00000e0f.txt C:\00000e0f.cre
ExpectedResult=fail

[CorruptedInputBinaryFile3]
ConversionCmd=-o C:\CentRepConv\101f8766.txt C:\101f8766.cre
ExpectedResult=fail
