summaryrefslogtreecommitdiffstats
path: root/tests/grub_script_test.in
blob: 34a5f141d5ac9c11b50f143c2f276d81a5b3c54a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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