]> git.proxmox.com Git - grub2.git/blame - tests/grub_script_vars1.in
* grub-core/commands/i386/pc/drivemap.c (int13slot): Replace
[grub2.git] / tests / grub_script_vars1.in
CommitLineData
547e494f
BC
1#! @builddir@/grub-shell-tester
2
3# Run GRUB script in a Qemu instance
4# Copyright (C) 2010 Free Software Foundation, Inc.
5#
6# GRUB is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation, either version 3 of the License, or
9# (at your option) any later version.
10#
11# GRUB is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
18
19var=foo
20echo $var
21echo "$var"
22echo ${var}
23echo "${var}"
24
25echo $1 $2 $?
26
27foo=foo
28echo "" $foo
29
30echo $bar $foo
a0167e8b 31
547e494f
BC
32bar=""
33echo $bar $foo
34