Lines Matching refs:cmd
20 cmd='regexp -s version "vm-(.*)" vm-1.2.3; echo $version'
21 v=`echo "$cmd" | @builddir@/grub-shell`
22 if test "$v" != 1.2.3; then echo "error: $cmd" >&2; exit 1; fi
24 cmd='regexp -s 1:version "vm-(.*)" vm-1.2.3; echo $version'
25 v=`echo "$cmd" | @builddir@/grub-shell`
26 if test "$v" != 1.2.3; then echo "error: $cmd" >&2; exit 1; fi
28 cmd='regexp -s 0:match "vm-(.*)" vm-1.2.3; echo $match'
29 v=`echo "$cmd" | @builddir@/grub-shell`
30 if test "$v" != vm-1.2.3; then echo "error: $cmd" >&2; exit 1; fi
32 cmd='regexp -s 2:match "vm-(.*)" vm-1.2.3; echo $match'
33 v=`echo "$cmd" | @builddir@/grub-shell`
34 if test -n "$v"; then echo "error: $cmd" >&2; exit 1; fi
36 cmd='regexp -s match "\\\((.*)\\\)" (hd0,msdos1); echo $match'
37 v=`echo "$cmd" | @builddir@/grub-shell`
38 if test "$v" != "hd0,msdos1"; then echo "error: $cmd" >&2; exit 1; fi
40 cmd='regexp -s match "hd([0-9]+)" hd0; echo $match'
41 v=`echo "$cmd" | @builddir@/grub-shell`
42 if test "$v" != "0"; then echo "error: $cmd" >&2; exit 1; fi