search for: opts2

Displaying 2 results from an estimated 2 matches for "opts2".

Did you mean: opts
2015 Jul 29
2
[PATCH] ssh: Add option to present certificates on command line
..."regress user key for $USER" \ + -z $$ -n ${USER} $OBJ/user_key1 || + fail "couldn't sign user_key1 with user_ca_key2" +mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1_2.pub + +trace 'try with identity files' +opts="-F $OBJ/ssh_proxy -oIdentitiesOnly=yes" +opts2="$opts -i $OBJ/user_key1 -i $OBJ/user_key2" +echo "cert-authority $(cat $OBJ/user_ca_key1.pub)" > $OBJ/authorized_keys_$USER + +for p in ${SSH_PROTOCOLS}; do + # Just keys should fail + ${SSH} $opts2 somehost exit 5$p + r=$? + if [ $r -eq 5$p ]; then + fail "ssh succeed...
2006 Jul 23
0
[PATCH] (+tests) with_scope :order doesn''t work with included associations
...with_scope doesn''t support :order in the presence of :include. For example: {{{ # We''re testing the interaction between :order, :include, and with_scope. TEST_ORDER = ''tickets.created_at DESC'' TEST_INCLUDE = [''owner''] def test_find(opts1, opts2) Ticket.with_scope(:find => opts1) do Ticket.find(:all, opts2).map {|t| t.id } end end # In these examples, :order is respected. test_find({ :order => TEST_ORDER }, {}) test_find({}, { :include => TEST_INCLUDE, :order => TEST_ORDER }) test_find({ :include => TEST_INCLUDE...