github.com/xyproto/u-root@v6.0.1-0.20200302025726-5528e0c77a3c+incompatible/integration/RUNLOCAL (about)

     1  #!/bin/bash
     2  
     3  # To use this script, drop a bzImage here and away you go.
     4  # Some examples:
     5  # ./RUNLOCAL
     6  # ./RUNLOCAL -v -test.run=TestScript
     7  
     8  export UROOT_QEMU="qemu-system-x86_64 -enable-kvm" 
     9  export UROOT_KERNEL=bzImage 
    10  
    11  go test "$@" ./...