Re: Tiger and Panther: sysctl requirements just not working?
Re: Tiger and Panther: sysctl requirements just not working?
- Subject: Re: Tiger and Panther: sysctl requirements just not working?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 11 Jul 2005 21:31:44 +0200
On lundi, juillet 11, 2005, at 08:11 PM, Christopher Ryan wrote:
Stéphane,
The TestOperator needs to be "=" or "eq", "==" is not valid.
I agree it's not valid because the documentation is stating that it's =.
But on 10.3.9, it's valid and working fine. When the values are equal
the requirement is fulfilled. When the values are different, it's not.
=> Regression :)
Still, on sysctl requirement. This one is driving me a bit crazy.
10.3.9 and 10.4.1:
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision test 1</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>199506</string>
<key>TestOperator</key>
<string>=</string>
</dict>
</array>
=> Fails.
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision test 1</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<integer>199506</integer>
<key>TestOperator</key>
<string>=</string>
</dict>
</array>
=> Fails.
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision test 1</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<integer>199506</integer>
<key>TestOperator</key>
<string>>=</string>
</dict>
</array>
=> Fails
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision test 1</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>199506</string>
<key>TestOperator</key>
<string>>=</string>
</dict>
</array>
=> Fails
<array>
<dict>
<key>LabelKey</key>
<string>kern.osrevision test 1</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrevision</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>199506</string>
<key>TestOperator</key>
<string><</string>
</dict>
</array>
=> Succeeds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden