summaryrefslogtreecommitdiffstats
path: root/test/testunit/test_assertions.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 02:12:10 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 02:12:10 +0000
commita034a09b2216e4b96c50fcce75e5a7d23eb868a7 (patch)
treefa450bd66ba894caf8733d1c9051a1b97135610c /test/testunit/test_assertions.rb
parent59c8df83cb6c63a5e6947e46e88b4b8844019d16 (diff)
* test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.
"euc-jp" might not be in supported encoding name list. [ruby-talk:88650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/test_assertions.rb')
0 files changed, 0 insertions, 0 deletions
span class="hl opt">, char * const argv[], char last_char, int maxv, char *cmdv[]) { int len = 0; int i = 0; cmd_tbl_t *cmdtp; switch (argc) { case 1: break; case 2: len = strlen(argv[1]); break; default: return 0; } for (cmdtp = cmd_sub; cmdtp != cmd_sub + ARRAY_SIZE(cmd_sub); cmdtp++) { if (i >= maxv - 1) return i; if (!strncmp(argv[1], cmdtp->name, len)) cmdv[i++] = cmdtp->name; } cmdv[i] = NULL; return i; } U_BOOT_CMD_COMPLETE( exception, 2, 0, do_exception, "Forces an exception to occur", exception_help_text, exception_complete );