github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/error/test.sh (about)

     1  #!/bin/bash
     2  set -x
     3  
     4  ./build.sh
     5  
     6  PAYLOAD='{"input": "yoooo"}'
     7  
     8  # test it
     9  echo $PAYLOAD | docker run --rm -i -e TEST=1 iron/func-error