github.com/mhilton/juju-juju@v0.0.0-20150901100907-a94dd2c73455/cmd/juju/commands/ssh_unix_test.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Copyright 2014 Cloudbase Solutions SRL
     3  // Licensed under the AGPLv3, see LICENCE file for details.
     4  
     5  // +build !windows
     6  
     7  package commands
     8  
     9  // Commands to patch
    10  var patchedCommands = []string{"ssh", "scp"}
    11  
    12  // fakecommand outputs its arguments to stdout for verification
    13  var fakecommand = `#!/bin/bash
    14  
    15  echo "$@" | tee $0.args
    16  `