Vladimir 'phcoder' Serbinenko
60fde14d3e
Move handling of GRUB_QEMU_OPTS to grub-shell so that make check works.
...
* Makefile.am: Remove GRUB_QEMU_OPTS handling.
* tests/util/grub-shell.in: Add GRUB_QEMU_OPTS handling.
2012-06-07 14:14:02 +02:00
Vladimir 'phcoder' Serbinenko
37ba07ebaf
Extend automated tests to qemu-mips.
...
* Makefile.am: reorganise tests and enable qemu-mips.
* configure.ac (COND_mipseb), (COND_mipsel): New conditions.
* grub-core/tests/boot/linux.init-mips.S: New file.
* tests/partmap_test.in: Handle ata0 disks.
* tests/util/grub-shell.in: Handle qemu-mips. Make defaults work on
non-pc i386.
2012-06-06 12:36:33 +02:00
Vladimir 'phcoder' Serbinenko
1c4afb6095
* tests/cmp_unit_test.c: Add missing failure message.
...
* tests/example_unit_test.c: Likewise.
* tests/printf_unit_test.c: Likewise.
2012-05-30 13:54:30 +02:00
Vladimir 'phcoder' Serbinenko
eea1e26e52
* grub-core/script/yylex.l: Ugly fix for "\\\n ".
...
* tests/grub_script_echo1.in: Add tests.
2012-05-08 23:20:02 +02:00
Vladimir 'phcoder' Serbinenko
ce41ab7aab
* grub-core/kern/misc.c (grub_strcmp): Use unsigned comparison as
...
per common usage and preffered in several parts of code.
(grub_memcmp): Likewise.
(grub_strncmp): Likewise.
* include/grub/misc.h (grub_strcasecmp): Likewise.
(grub_strncasecmp): Likewise.
* Makefile.util.def (cmp_test): New test.
(grub_script_strcmp): Likewise.
* tests/cmp_unit_test.c: New file.
* tests/grub_script_strcmp.in: Likewise.
* grub-core/fs/hfsplus.c (grub_hfsplus_cmp_catkey): Add a comment.
2012-05-04 12:08:22 +02:00
Vladimir 'phcoder' Serbinenko
b9153381b8
* util/grub-mknetdir.in: Rename --override-directory to --directory and
...
document it.
* tests/util/grub-shell.in: Update to --directory.
2012-04-14 15:20:45 +02:00
Vladimir 'phcoder' Serbinenko
16fc9293d6
* tests/util/grub-shell.in: Set pkgdatadir when calling grub-mkrescue
...
and grub-mknetdir.
2012-04-11 22:43:15 +02:00
Vladimir 'phcoder' Serbinenko
ac6fd21803
* grub-core/script/argv.c (grub_script_argv_split_append): Skip leading
...
spaces.
* tests/grub_script_leading_whitespace.in: New file.
* Makefile.util.def (grub_script_leading_whitespace): New test.
2012-03-19 13:29:43 +01:00
Vladimir 'phcoder' Serbinenko
546fbe9b5a
Add variable parsing in $"..." and fix several mismatches with bash.
...
* Makefile.util.def (grub_script_gettext): New test.
* grub-core/script/execute.c (parse_string): New function.
(gettext_append): Likewise.
(grub_script_arglist_to_argv): Use gettext_append.
* grub-core/script/yylex.l: Fix slash and newline handling in $"...".
* tests/grub_script_gettext.in: New file.
2012-03-11 14:46:48 +01:00
Vladimir 'phcoder' Serbinenko
9fdb2d7b11
Fix handling of leading spaces in scripts.
...
* grub-core/normal/cmdline.c (grub_cmdline_get): Don't strip leading
spaces.
* grub-core/normal/main.c (grub_file_getline): Remove all preprocessing
other than skipping \r. All users updated.
* tests/grub_script_echo1.in: Add space-related tests.
* util/grub-menulst2cfg.c (main): Remove useless space skipping.
2012-03-11 14:43:18 +01:00
Vladimir 'phcoder' Serbinenko
3fd8bae5cf
* tests/partmap_test.in: Replace qemu-img usage with dd to decrease
...
dependencies.
2012-03-10 14:35:17 +01:00
Vladimir 'phcoder' Serbinenko
53f13848f1
Remove platform and target_cpu replacement.
...
* configure.ac: Remove platform and target_cpu substitutions.
* tests/util/grub-shell.in: Use modinfo.
* util/powerpc/ieee1275/grub-mkrescue.in: Specify powerpc-ieee1275
explicitly.
2012-02-27 16:46:52 +01:00
Vladimir 'phcoder' Serbinenko
e51b56667a
* include/grub/test.h (grub_unit_test_init): Add missing prototype.
...
(grub_unit_test_fini): Likewise.
* tests/lib/unit_test.c (main): Remove extra nested external prototype.
2012-02-12 22:04:55 +01:00
Vladimir 'phcoder' Serbinenko
f8a9ab1245
* grub-core/commands/wildcard.c (match_files): Handle filenames
...
without explicit device.
(wildcard_expand): Don't add explicit device if not already present.
* tests/grub_script_echo1.in: Add a new expansion test.
2012-01-24 13:34:36 +01:00
Vladimir 'phcoder' Serbinenko
48b391e9ab
Handle newer autotools. Add some missing quotes while on it.
...
* Makefile.am (pkglib_DATA): Remove update-grub_lib.
(pkglib_DATA): Move grub-mkconfig_lib from here ...
(pkgdata_DATA): ... here.
* Makefile.util.def (update-grub_lib): Removed.
* conf/Makefile.common (pkglib_DATA): Removed.
(pkglib_SCRIPTS): Likewise.
(pkgdata_DATA): New variable.
* tests/util/grub-shell-tester.in: Replace pkglib with pkgdata where
needed.
Add missing quotes.
Remove unused variable while on it.
* tests/util/grub-shell.in: Likewise.
* util/grub-install.in: Likewise.
* util/grub-mkconfig.in: Likewise.
* util/grub-mknetdir.in: Likewise.
* util/grub-mkrescue.in: Likewise.
* util/grub-mkstandalone.in: Likewise.
* util/grub.d/00_header.in: Likewise.
* util/grub.d/10_hurd.in: Likewise.
* util/grub.d/10_illumos.in: Likewise.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/10_netbsd.in: Likewise.
* util/grub.d/10_windows.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.
* util/grub.d/30_os-prober.in: Likewise.
* util/update-grub_lib.in: Removed.
2012-01-24 13:17:36 +01:00
Vladimir 'phcoder' Serbinenko
12d4f965cd
Support %1$d syntax.
...
* tests/printf_unit_test.c: New file.
* Makefile.util.def (printf_test): New test.
* grub-core/kern/misc.c (grub_vsnprintf_real): Support %1$d syntax.
2011-11-11 21:14:41 +01:00
Colin Watson
5626056ffb
* grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e',
...
to avoid accidents when debugging with 'sh -x'.
* grub-core/gensyminfo.sh.in: Likewise.
* tests/example_scripted_test.in: Likewise.
* tests/grub_cmd_regexp.in: Likewise.
* tests/grub_script_blanklines.in: Likewise.
* tests/grub_script_dollar.in: Likewise.
* tests/grub_script_expansion.in: Likewise.
* tests/grub_script_final_semicolon.in: Likewise.
* tests/partmap_test.in: Likewise.
* tests/util/grub-shell-tester.in: Likewise.
* tests/util/grub-shell.in: Likewise.
2011-05-18 12:53:07 +01:00
Vladimir 'phcoder' Serbinenko
4959e11109
Use mipsel- rather than mips- in directories involving mipsel ports to
...
allow both endiannesses coexist.
* configure.ac: proparate target_cpu=mipsel rather than resetting to
mips. All conditions adjusted.
* tests/util/grub-shell-tester.in: Remove gratuitious target_cpu
variable.
* util/grub-install.in: Adjust conditions to take renaming into account.
* util/grub-mkimage.c (image_targets): Likewise. New target
mips-qemu_mips-elf for bigendian mips.
2011-05-17 22:48:20 +02:00
Colin Watson
4ebff75340
* tests/partmap_test.in: Don't hardcode path to parted.
...
Reported by: Peter Hjalmarsson. Fixes Savannah bug #33150 .
2011-05-03 17:57:39 +01:00
Colin Watson
415502c26a
* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
...
avoid causing test failures by clearing the screen.
2011-01-06 13:24:38 +00:00
Jordan Uggla
ab66c69f1a
* tests/util/grub-shell.in: Suppress "ACPI shutdown failed" error to
...
keep unit tests from failing when they shouldn't.
2010-12-23 11:51:18 +00:00
BVK Chaitanya
a8152fedab
suppress shell expansion inside quoted strings
2010-11-07 16:13:14 +05:30
Grégoire Sutre
b65ea15514
Make mktemp invocations portable.
2010-10-18 22:50:01 +02:00
BVK Chaitanya
79c93b429e
echo test case
2010-09-20 13:51:16 +05:30
Vladimir 'phcoder' Serbinenko
9b5b2541a2
grub-mknetdir script.
...
* Makefile.util.def (grub-mknetdir): New module.
* tests/util/grub-shell.in: Support boot=net
* util/grub-mknetdir.in: New file.
2010-09-13 14:03:05 +02:00
bvk.groups@gmail.com
8901b00c88
* tests/partmap_test.in: New test for partitions.
...
* Makefile.util.def: Rules for new test.
2010-09-09 21:24:17 +05:30
bvk.groups@gmail.com
56672f4a8b
added new partmaps test
2010-09-09 21:10:17 +05:30
BVK Chaitanya
1bce65c7b1
not command (!) support
2010-09-05 14:57:28 +05:30
BVK Chaitanya
ee14ec9935
merge with mainline
2010-09-04 22:34:32 +05:30
BVK Chaitanya
a431c98a52
merge with mainline
2010-09-04 22:13:45 +05:30
BVK Chaitanya
165bfce138
merge with mainline
2010-09-04 20:44:44 +05:30
BVK Chaitanya
cd652829a1
merge with mainline
2010-09-04 14:41:08 +05:30
BVK Chaitanya
6d7c073bc8
merge with mainline
2010-09-04 11:49:02 +05:30
BVK Chaitanya
7af6505ba1
merge with mainline
2010-09-04 11:37:59 +05:30
BVK Chaitanya
227cab7c79
merge with mainline
2010-09-04 10:56:23 +05:30
BVK Chaitanya
e5a73c4247
merge with mainline
2010-09-04 09:05:21 +05:30
BVK Chaitanya
adcf5a8e30
merge with mainline
2010-09-04 08:33:42 +05:30
BVK Chaitanya
0dfb7ba053
merge with mainline
2010-09-03 20:06:57 +05:30
Vladimir 'phcoder' Serbinenko
8395034bec
Add i386-pc-pxe image target.
...
* util/grub-mkimage.c (image_target_desc): New enum value
IMAGE_I386_PC_PXE.
(image_targets): New target i386-pc-pxe.
(generate_image): Handle i386-pc-pxe image.
2010-09-02 17:15:53 +02:00
BVK Chaitanya
8fdefb9253
merge with mainline
2010-08-26 12:11:57 +05:30
BVK Chaitanya
ab8629d2ac
pull-in menuentry branch
2010-08-26 12:02:52 +05:30
BVK Chaitanya
b899201c69
merge with mainline
2010-08-26 11:45:29 +05:30
BVK Chaitanya
47b4c2c3e8
pull-in block-arg branch
2010-08-26 11:32:35 +05:30
BVK Chaitanya
928bad4708
merge with mainline
2010-08-26 09:30:11 +05:30
Vladimir 'phcoder' Serbinenko
5ad6967b19
Enable boottests
2010-08-25 16:59:11 +02:00
BVK Chaitanya
aa5cd41af5
return command for functions
2010-08-25 19:35:52 +05:30
BVK Chaitanya
a9b85993ee
merge with mainline
2010-08-25 14:45:56 +05:30
Vladimir 'phcoder' Serbinenko
16bd6cfab2
Merge mainline into newreloc. For now without boot tests
2010-08-25 03:25:18 +02:00
BVK Chaitanya
34980574fc
minor cleanups
2010-08-19 17:50:05 +05:30
BVK Chaitanya
16c7cb32c8
merge with mainline
2010-08-19 16:54:00 +05:30
BVK Chaitanya
a8876fc7ca
merge with setparams branch
2010-08-15 12:11:07 +05:30
BVK Chaitanya
3a20130e7a
setparams command to set positional parameters
2010-08-15 12:02:33 +05:30
BVK Chaitanya
1379af7834
merge with mainline
2010-08-15 11:12:53 +05:30
BVK Chaitanya
00a8a3eee3
merge with mainline
2010-08-12 14:43:34 +05:30
BVK Chaitanya
c6a343c3c6
merge with mainline
2010-08-12 13:23:13 +05:30
BVK Chaitanya
163dd4f7e9
merge with mainline
2010-08-12 12:02:48 +05:30
BVK Chaitanya
8908e49937
merge with mainline
2010-08-12 09:46:01 +05:30
BVK Chaitanya
fd324286d4
merge with mainline
2010-08-12 09:30:26 +05:30
BVK Chaitanya
67a9e4d95d
review fixes and a testcase
2010-08-09 21:42:24 +05:30
BVK Chaitanya
cd838e22c2
added a testcase
2010-08-04 19:21:18 +05:30
BVK Chaitanya
3c6a9151ad
move wildcard translator into regexp module
2010-07-29 23:32:56 +05:30
BVK Chaitanya
1c24bab4be
updated testcase
2010-07-29 16:59:49 +05:30
BVK Chaitanya
645505004e
suppress unwanted shell expansion
2010-07-23 02:57:02 +05:30
BVK Chaitanya
54416e9d71
merge with mainline
2010-07-23 02:44:22 +05:30
BVK Chaitanya
d737bdc136
merge with mainline
2010-07-22 23:16:22 +05:30
BVK Chaitanya
a281e2e80a
merge with mainline
2010-07-22 22:39:42 +05:30
BVK Chaitanya
82e323a3d7
merge with mainline
2010-07-22 22:39:20 +05:30
Vladimir 'phcoder' Serbinenko
5e3bec6716
* tests/util/grub-shell-tester.in: Remove bashism and declare as
...
sh script.
2010-07-20 22:10:23 +02:00
BVK Chaitanya
3e96a6a108
merge with mainline
2010-07-18 22:03:28 +05:30
BVK Chaitanya
297f0c2b6e
merge with mainline
2010-07-13 00:43:28 +05:30
BVK Chaitanya
d18b05c4e3
merge with mainline
2010-07-12 17:29:44 +05:30
BVK Chaitanya
05df19acd5
merge with mainline
2010-07-12 17:03:01 +05:30
BVK Chaitanya
8d17eeeef2
merge with mainline
2010-07-12 16:38:19 +05:30
BVK Chaitanya
9ec82092f1
merge with mainline
2010-07-11 21:40:25 +05:30
BVK Chaitanya
7925f8e9cf
merge with mainline
2010-07-11 21:14:18 +05:30
BVK Chaitanya
09e06f8e75
merge with mainline
2010-07-11 18:10:53 +05:30
Vladimir 'phcoder' Serbinenko
becce1b16a
* tests/util/grub-shell.in: Remove bashisms and declare as sh script.
2010-07-07 17:51:26 +02:00
Vladimir 'phcoder' Serbinenko
2a1d16154d
Merge mainline into newreloc
2010-06-24 21:22:40 +02:00
BVK Chaitanya
2e1310bc7c
merge with mainline
2010-06-13 10:22:38 +05:30
BVK Chaitanya
eedda76883
merge with mainline
2010-06-13 09:58:24 +05:30
BVK Chaitanya
49e38cf475
merge with mainline
2010-06-13 09:48:47 +05:30
BVK Chaitanya
6ad1216e64
pull-in break-cmd branch
2010-06-12 20:53:32 +05:30
BVK Chaitanya
20ebf73276
merge with mainline
2010-06-12 20:36:46 +05:30
BVK Chaitanya
95af254928
merge with mainline
2010-06-12 16:32:06 +05:30
BVK Chaitanya
7b466fbb9e
logical linebreaks support
2010-06-12 12:23:49 +05:30
BVK Chaitanya
0500dfd1b4
cleanup & a fix
2010-06-12 12:02:06 +05:30
BVK Chaitanya
2f169df5a4
updated echo1 test with multiline strings
2010-06-12 11:25:44 +05:30
Vladimir 'phcoder' Serbinenko
3a37e3226b
Use FOR_* macros instead of *_iterate whenever possible.
...
* commands/handler.c: Removed.
* commands/help.c (grub_cmd_help): Use FOR_COMMANDS.
* commands/minicmd.c (grub_mini_cmd_lsmod): Use FOR_DL_MODULES.
* conf/any-emu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/common.rmk (script/lexer.c_DEPENDENCIES): Add grub_script.yy.h.
(grub_probe_SOURCES): Remove kern/parser.c.
(util/grub-script-check.c_DEPENDENCIES): Removed.
(grub_script_check_SOURCES): Remove kern/handler.c, kern/parser.c
and grub_script_check_init.c.
(grub_script_check_init.lst): Removed.
(grub_script_check_init.h): Likewise.
(grub_script_check_init.c): Likewise.
(pkglib_MODULES): Remove handler.mod and sh.mod.
(handler_mod_SOURCES): Removed.
(handler_mod_CFLAGS): Likewise.
(handler_mod_LDFLAGS): Likewise.
(normal_mod_SOURCES): Remove normal/handler.c.
Add script/main.c, script/script.c, script/execute.c,
script/function.c, script/lexer.c, grub_script.tab.c
and grub_script.yy.c.
* conf/i386-coreboot.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise.
* conf/i386-pc.rmk (kernel_img_SOURCES): Likewise.
(grub_setup_SOURCES): Remove kern/parser.c.
* conf/i386-qemu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/mips-qemu-mips.rmk (kernel_img_SOURCES): Likewise.
* conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise.
(grub_setup_SOURCES): Remove kern/parser.c.
* conf/x86-efi.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* gettext/gettext.c (grub_gettext_delete_list): Don't use grub_list_pop.
* include/grub/command.h (grub_command_iterate): Removed.
(FOR_COMMANDS): New macro.
* include/grub/dl.h (grub_dl): New member next.
(grub_dl_iterate): Removed.
(grub_dl_head): New variable declaration.
(FOR_DL_MODULES): New macro.
* include/grub/fs.h: Include list.h.
(grub_fs): Make next first element.
(grub_fs_list): New variable declaration.
(grub_fs_register): Make inline.
(grub_fs_unregister): Likewise.
(grub_fs_iterate): Removed.
(FOR_FILESYSTEMS): New macro.
* include/grub/handler.h: Removed.
* include/grub/list.h (grub_list_hook_t): Removed.
(grub_list_test_t): Likewise.
(grub_list_pop): Likewise.
(grub_list_iterate): Likewise.
(grub_list_insert): Likewise.
(FOR_LIST_ELEMENTS): New macro.
* include/grub/parser.h (grub_parser_class): Removed.
(grub_parser_register): Likewise.
(grub_parser_unregister): Likewise.
(grub_parser_get_current): Likewise.
(grub_parser_set_current): Likewise.
(grub_register_rescue_parser): Likewise.
(grub_rescue_parse_line): New function.
* include/grub/partition.h (FOR_PARTITION_MAPS): Use FOR_LIST_ELEMENTS.
* include/grub/script_sh.h (grub_script_function_list): New variable
declaration.
(FOR_SCRIPT_FUNCTIONS): New macro.
(grub_script_function_iterate): Removed.
(grub_normal_parse_line): New prototype.
* include/grub/term.h (FOR_ACTIVE_TERM_INPUTS): Use FOR_LIST_ELEMENTS.
(FOR_DISABLED_TERM_INPUTS): Likewise.
(FOR_ACTIVE_TERM_OUTPUTS): Likewise.
(FOR_DISABLED_TERM_OUTPUTS): Likewise.
* include/grub/video.h (grub_video_adapter): Move 'next' to first
element.
(grub_video_register): Inline.
(grub_video_unregister): Likewise.
(grub_video_adapter_list): New variable declaration.
(grub_video_iterate): Removed.
(FOR_VIDEO_ADAPTERS): New macro.
* kern/dl.c (grub_dl_list): Removed. All users updated.
(grub_dl_iterate): Removed.
* kern/fs.c (grub_fs_list): Make global.
(grub_fs_register): Removed.
(grub_fs_unregister): Likewise.
(grub_fs_iterate): Likewise.
* kern/handler.c: Removed.
* kern/list.c (grub_list_pop): Removed.
(grub_list_iterate): Likewise.
(grub_list_insert): Likewise.
(grub_named_list_find): Use FOR_LIST_ELEMENTS.
(grub_prio_list_insert): Don't use grub_list_insert.
* kern/main.c (grub_register_rescue_parser): Don't call
grub_register_rescue_parser.
* kern/parser.c (grub_parser_class): Removed.
(grub_parser_execute): Use grub_rescue_parse_line.
* kern/rescue_parser.c (grub_rescue_parse_line): Make global.
(grub_rescue_parser): Removed.
(grub_register_rescue_parser): Likewise.
* kern/rescue_reader.c (grub_rescue_run): Use grub_rescue_parse_line.
* normal/auth.c (is_authenticated): Use FOR_LIST_ELEMENTS.
(grub_auth_check_authentication): Likewise.
* normal/completion.c (iterate_command): Removed.
(grub_normal_do_completion): Use FOR_COMMANDS.
* normal/handler.c: Removed.
* normal/main.c (read_config_file): Remove parser changing.
(grub_normal_execute): Don't call read_handler_list.
(grub_normal_read_line_real): Statically allocate prompt.
(grub_cmdline_run): Use grub_normal_parse_line.
(GRUB_MOD_FINI): Don't call free_handler_list.
* normal/menu_entry.c (run): Likewise.
* script/function.c (grub_script_function_list): Make global.
(grub_script_function_iterate): Removed.
* script/main.c (grub_normal_parse_line): Make global.
(grub_sh_parser): Removed.
(GRUB_MOD_INIT): Likewise.
(GRUB_MOD_FINI): Likewise.
* tests/lib/functional_test.c (grub_functional_test): Use
FOR_LIST_ELEMENTS.
* tests/lib/test.c (free_failures): Don't use grub_list_pop.
(grub_test_run): Use FOR_LIST_ELEMENTS.
* tests/lib/unit_test.c (main): Likewise.
* util/deviceiter.c (grub_util_iterate_devices): Don't use
grub_list_pop.
* util/grub-fstest.c (grub_term_input_class): Removed.
(grub_term_output_class): Likewise.
* util/grub-probe.c: Likewise.
* util/i386/pc/grub-setup.c: Likewise.
* util/sparc64/ieee1275/grub-setup.c: Likewise.
* util/grub-script-check.c (main): Don't call grub_init_all and
grub_fini_all.
* video/video.c (grub_video_adapter_list): Make global.
(grub_video_register): Removed.
(grub_video_unregister): Likewise.
(grub_video_iterate): Likewise.
2010-06-11 22:31:16 +02:00
BVK Chaitanya
28be0e94db
add example usage to hello command
2010-06-10 12:12:03 +05:30
BVK Chaitanya
a60f6ee1ac
cleanup
2010-06-03 11:52:33 +05:30
BVK Chaitanya
fe16b84557
pull-in emu-lite
2010-06-01 09:12:01 +05:30
BVK Chaitanya
692d7c2855
pull-in emu-lite branch
2010-05-26 17:49:05 +05:30
BVK Chaitanya
5ef88f6e95
merge with mainline
2010-05-20 13:56:14 +05:30
BVK Chaitanya
868bebea0c
merge with mainline
2010-05-19 14:39:58 +05:30
BVK Chaitanya
123b7a8571
Fix grub-mkrescue usage unit testing.
...
* tests/util/grub-shell.in: Use --grub-mkimage with grub-mkrescue.
2010-05-19 14:31:43 +05:30
BVK Chaitanya
a0b20aad47
some shell expansion features into grub-script
2010-05-18 21:03:35 +05:30
BVK Chaitanya
e204c5d5e5
pull-in break-cmd branch
2010-05-13 10:45:16 +05:30
BVK Chaitanya
2e961bd737
pull-in func-params again
2010-05-12 17:59:09 +05:30
BVK Chaitanya
7b252ac27c
few more testcases
2010-05-12 17:46:49 +05:30
BVK Chaitanya
45ab4f486f
pull-in func-params branch
2010-05-12 17:35:07 +05:30
BVK Chaitanya
04888e8787
few more testcases added
2010-05-12 13:53:50 +05:30
BVK Chaitanya
a0167e8bdf
rewrote arglist to argv conversion and added $@, $* support
2010-05-12 10:19:12 +05:30
BVK Chaitanya
e9efa0fe36
shift command support
2010-05-07 10:08:09 +05:30
BVK Chaitanya
8c41176882
automake commit without merge history
2010-05-06 11:34:04 +05:30
BVK Chaitanya
eee2594104
continue command support
2010-05-05 16:19:31 +05:30
BVK Chaitanya
a7aa28248b
break command support
2010-05-05 15:34:26 +05:30
BVK Chaitanya
342bf06e58
function parameters support
2010-05-05 14:47:50 +05:30
Vladimir 'phcoder' Serbinenko
7f5320b319
Compress miniroot and decrease timeout
2010-05-02 23:09:45 +02:00
Vladimir 'phcoder' Serbinenko
aa8d7b2647
coreboot and qemu rescue disks and bootchecks
2010-05-01 16:33:22 +02:00
Vladimir 'phcoder' Serbinenko
c6fb51295b
merge mainline into newreloc
2010-05-01 15:10:44 +02:00
BVK Chaitanya
c548018b7c
added few more test cases
2010-05-01 15:39:59 +05:30
BVK Chaitanya
6fdda85ae6
fix comment and brace handling
2010-04-30 13:50:41 +05:30
Vladimir 'phcoder' Serbinenko
6406a79dff
switch off manually on linux x86_64
2010-04-29 13:36:53 +02:00
Vladimir 'phcoder' Serbinenko
e7b43a6550
Use hasbrokenint12
2010-04-27 21:42:45 +02:00
Vladimir 'phcoder' Serbinenko
708745c8a7
Shutdown manually
2010-04-27 21:42:15 +02:00
Vladimir 'phcoder' Serbinenko
083a38ad82
merge boottest into newreloc
2010-04-27 13:46:38 +02:00
Vladimir 'phcoder' Serbinenko
d534028780
Remove debugging leftovers
2010-04-27 13:45:08 +02:00
Vladimir 'phcoder' Serbinenko
6c3d9c2845
merge boottest into newreloc
2010-04-27 13:34:07 +02:00
Vladimir 'phcoder' Serbinenko
6adde6749e
efi boottests
2010-04-27 13:23:11 +02:00
Vladimir 'phcoder' Serbinenko
7fec686e6c
merge merge-mkimage into boottest
2010-04-27 10:37:27 +02:00
BVK Chaitanya
ae45b7bad4
add missing testcase
2010-04-13 21:01:56 +05:30
Vladimir 'phcoder' Serbinenko
298ffd54b0
merge mainline into newreloc
2010-04-11 22:44:31 +02:00
Vladimir 'phcoder' Serbinenko
4a55d631d7
Merge mainline into for_macros
2010-04-09 22:35:32 +02:00
BVK Chaitanya
68b31b54f5
merged with mainline
2010-04-09 22:32:58 +05:30
BVK Chaitanya
c41c00eab6
merged with mainline
2010-04-09 21:44:59 +05:30
BVK Chaitanya
9705115b22
merged with mainline
2010-04-09 20:53:57 +05:30
BVK Chaitanya
f9d9068aa7
removed -serial stdio option from qemu cmdline
2010-04-06 12:21:11 +05:30
Vladimir 'phcoder' Serbinenko
8b0800f66f
merge mainline into newreloc
2010-04-01 22:17:26 +02:00
Vladimir 'phcoder' Serbinenko
0959e5ec30
Remove grub_list_pop
2010-03-26 20:20:52 +01:00
Vladimir 'phcoder' Serbinenko
41e1209827
Remove list_iterate usage tests/
2010-03-26 19:35:34 +01:00
Vladimir 'phcoder' Serbinenko
3f8ae91c09
Use FOR_LIST_ELEMENTS convenience macros
2010-03-26 19:32:21 +01:00
Vladimir 'phcoder' Serbinenko
7c0ab99bd2
Remove list_iterate usage functional_test.c
2010-03-26 19:23:19 +01:00
BVK Chaitanya
dae0d05f2d
merged with mainline
2010-03-26 23:49:49 +05:30
BVK Chaitanya
03efaf45b2
merged with mainline
2010-03-26 23:36:14 +05:30
BVK Chaitanya
3e6b777ba7
testcase for the last semicolon behavior
2010-03-22 14:02:48 +05:30
BVK Chaitanya
8507a6ccdf
testcase for blanklines in grub script
2010-03-22 13:54:45 +05:30
BVK Chaitanya
dd6fee39fa
merged mainline
2010-03-21 11:03:41 +05:30
BVK Chaitanya
0f3a3e3ece
added elif patch from Deepak Vankadaru
2010-03-21 10:27:21 +05:30
BVK Chaitanya
8a99e92a69
merge in mainline
2010-03-16 17:42:27 +05:30
BVK Chaitanya
8622549153
merged in mainline
2010-03-14 22:20:55 +05:30
Vladimir 'phcoder' Serbinenko
6e308bd942
merge mainline into newreloc
2010-01-30 16:46:16 +01:00
Robert Millan
ec1444e6df
2010-01-28 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (check): Exit with fail status when one of the tests
fails.
* tests/example_functional_test.c (example_test): Fix reversed assert.
* tests/example_unit_test.c (example_test): Likewise.
2010-01-28 15:27:41 +00:00
BVK Chaitanya
2aa1646307
new testcase for while and until loops
2010-01-26 12:32:47 +05:30
BVK Chaitanya
4e6a305be4
for loop support to grub script
2010-01-23 11:03:41 +05:30
BVK Chaitanya
547e494f1b
lexer-rewrite rebase commit
2010-01-22 19:07:27 +05:30
Vladimir 'phcoder' Serbinenko
3c83bc50db
merge bootcheck and mainline into newreloc
2010-01-20 11:48:36 +01:00
Vladimir 'phcoder' Serbinenko
9f2b45cbb9
merge mainline into bootcheck
2010-01-20 11:13:21 +01:00
Vladimir 'phcoder' Serbinenko
69a30a6e8e
Pass NULL as second argument to netbsd reboot syscall
2010-01-20 11:12:45 +01:00
Vladimir 'phcoder' Serbinenko
61eb45eee7
Rename asprint into xasprintf and avsprintf into xvasprintf
2010-01-20 09:12:47 +01:00
Vladimir 'phcoder' Serbinenko
2d49abe9e7
merge mainline into asprintf
2010-01-20 07:36:17 +01:00
Vladimir 'phcoder' Serbinenko
2b9885e16b
bootcheck-kfreebsd-x86_64
2010-01-19 09:17:23 +01:00
Vladimir 'phcoder' Serbinenko
5a6ff7ad4a
kfreebsd-i386 bootcheck
2010-01-18 22:29:25 +01:00
Vladimir 'phcoder' Serbinenko
0db3ae3ce6
Add bootcheck for kfreebsd-x86_64
2010-01-18 11:38:28 +01:00
Vladimir 'phcoder' Serbinenko
5d615a77ce
kfreebsd-i386 boot test support
2010-01-18 11:14:04 +01:00
Vladimir 'phcoder' Serbinenko
ad8e99ec20
bootcheck support
2010-01-17 23:36:45 +01:00
Robert Millan
a0c2a0f6ff
2010-01-17 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/test.h: Add license header.
* tests/example_functional_test.c: Likewise.
* tests/example_unit_test.c: Likewise.
* tests/lib/functional_test.c: Likewise.
* tests/lib/test.c: Likewise.
* tests/lib/unit_test.c: Likewise.
2010-01-17 17:29:57 +00:00
BVK Chaitanya
2285d4642a
use qemu-system-i386 instead of qemu
2010-01-14 18:39:12 +05:30
BVK Chaitanya
0b8891c276
removed unnecessary grub_test_* wrappers
2010-01-14 17:17:51 +05:30
BVK Chaitanya
afafb37e9b
added boot device selection to grub-shell
2010-01-12 10:54:37 +05:30
BVK Chaitanya
afdc9ad006
fixed an error message
2010-01-12 09:00:55 +05:30
BVK Chaitanya
169b1cd2d8
added functional tests to make-check
2010-01-08 16:35:32 +05:30
BVK Chaitanya
6fc804ffbb
unit testing framework
2010-01-08 15:19:10 +05:30