Lines Matching refs:g
138 echo > g || framework_failure_
144 cp -a ../f g 2>err || fail=1
145 test -s g || fail=1 # The destination file must not be empty.
150 rm -f g
151 echo > g
152 cp --preserve=all ../f g 2>err || fail=1
153 test -s g || fail=1
158 rm -f g
159 cp --preserve=all ../f g 2>err || fail=1
160 test -s g || fail=1
174 rm -f g
175 echo > g
179 cp --preserve=context ../f g 2> out && fail=1
181 compare /dev/null g || fail=1
186 rm -f g
187 echo > g
189 cp -a --preserve=context ../f g 2> out2 && fail=1
191 compare /dev/null g || fail=1
206 cp -Z ../f g || fail=1
209 cp -Z -a ../f g || fail=1
212 returns_ 1 cp -Z "$ctx" ../f g || fail=1
217 cp --context="$ctx" ../f g || fail=1
220 cp -a --context="$ctx" ../f g || fail=1
224 returns_ 1 cp -Z --preserve=context ../f g || fail=1
225 returns_ 1 cp --preserve=context -Z ../f g || fail=1
226 returns_ 1 cp --preserve=context --context="$ctx" ../f g || fail=1