github.com/metacurrency/holochain@v0.1.0-alpha-26.0.20200915073418-5c83169c9b5b/docker/tests/test.runAsHostUserUID.test (about)

     1  docker run  -e LOCAL_USER_ID=`id -u $USER` -i devcore > test.runAsHostUserUID.test.output
     2  grep -q "Starting with UID : 1002" test.runAsHostUserUID.test.output || exit 1
     3  grep -q "Usage: su-exec user-spec command \[args\]" test.runAsHostUserUID.test.output || exit 1
     4  rm test.runAsHostUserUID.test.output
     5  echo "passed test unix user with UID `id -u $USER` created inside container"