diff options
Diffstat (limited to '')
-rw-r--r-- | tests/grub_script_test.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/grub_script_test.in b/tests/grub_script_test.in new file mode 100644 index 0000000..34a5f14 --- /dev/null +++ b/tests/grub_script_test.in @@ -0,0 +1,15 @@ +#! @builddir@/grub-shell-tester + +for device in 'hd0' 'fd0'; do + # But search them if their search has been inforced + set fd0search="no" + if [ "$device" != "fd0" -a "$device" != "cd" \ + -o \ + "$device" = "fd0" -a "$fd0search" = "yes" ]\ + ; then + echo "Yes" + else + echo "No" + fi + +done
\ No newline at end of file |