Install the OpenSSL on Debian based systems
sudo apt-get install openssl
The >>>
operator allows a sequence of values to be returned:
myMock.someCall() >>> ['first value', 'second value', 'third value', 'etc']
This returns each string in turn. Behaviour (such as throwing exceptions) in closures cannot be used by this operator.
The >>
operator allows value or behaviour (closures) to be returned
#!/bin/bash | |
script="myscript" | |
#Declare the number of mandatory args | |
margs=2 | |
# Common functions - BEGIN | |
function example { | |
echo -e "example: $script -m0 VAL -m1 VAL -o1 -o2 VAL" | |
} |