github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/pkg/boot/grub/testdata/import_grub_tests.sh (about)

     1  #!/bin/bash
     2  
     3  if [ -z "$1" ]; then
     4  	echo usage $0 path/to/grub_source_dir/
     5  	exit 1
     6  fi
     7  
     8  grubsrcdir=$1
     9  
    10  for f in $(grep -rnl grub-shell-tester $grubsrcdir/tests/*); do cp $f .; done