github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/pentest/all.sh (about)

     1  #!/bin/bash
     2  #
     3  # Copyright (c) 2018 Intel Corporation
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  #
     7  
     8  tests_dir=$(dirname $0)
     9  
    10  bash -f "${tests_dir}/dirtycow.sh" &> /dev/null
    11  if [ $? != 0 ]; then
    12  	echo "[NOT OK] dirtycow test"
    13  	exit 1
    14  fi
    15  echo "[OK] dirtycow test"