Lines Matching refs:expected
55 # The 'expected src' argument must be either "default", "local", or
64 typeset expected=$3
69 # Rather than just checking if $prop_src == $expected
70 # we first determine what value $expected should have.
72 # has a source of "local" but we expected it to be
75 if [[ $expected == "default" ]]; then
76 if [[ $prop_src != $expected ]]; then
78 " $prop_src rather than $expected"
81 elif [[ $expected == "local" ]]; then
82 if [[ $prop_src != $expected ]]; then
84 " $prop_src rather than $expected"
87 elif [[ $prop_src != "inherited from $expected" ]]; then
88 log_note "Property $prop of $expected has source $prop_src"\
89 " rather than 'inherited from $expected'"