github.com/jenkins-x/jx/v2@v2.1.155/pkg/util/test_data/scripts/sleep.sh (about)

     1  #!/bin/sh
     2  
     3  # This script is intended to be used to simulate a long running execution. Currently used in command_test.go
     4  
     5  set -e
     6  
     7  SLEEP="$1"
     8  [ $# -eq 0 ] && { echo "Usage: $0 10"; exit 1; }
     9  sleep $1
    10  echo $1