Bug 2117

Summary: Non-portable use of test == operator in ssh-copy-id
Product: Portable OpenSSH Reporter: Colin Watson <cjwatson>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P5    
Version: 6.2p1   
Hardware: Other   
OS: Linux   
URL: http://bugs.debian.org/711162
Bug Depends on:    
Bug Blocks: 2076    
Attachments:
Description Flags
test =, not == none

Description Colin Watson 2013-06-05 19:49:20 AEST
In http://bugs.debian.org/711162, Andrey Rahmatullin reports a non-portable use of test:

  if [ $# == 0 ] ; then

This should be =, not ==.
Comment 1 Colin Watson 2013-06-05 19:51:10 AEST
Created attachment 2296 [details]
test =, not ==
Comment 2 Darren Tucker 2013-06-05 22:49:13 AEST
applied, thanks. it will be in 6.3p1.
Comment 3 Damien Miller 2015-08-11 23:03:20 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1