1
0
mirror of synced 2026-11-02 21:34:33 +03:00

Commit Graph

  • 57e746781c dont crash if the variable we do substitution on is not set Mike Frysinger 2009-04-09 23:00:33 +00:00
  • d68ae08cde hush: shrink and make more versatile error-reporting machinery Denis Vlasenko 2009-04-09 20:41:34 +00:00
  • 05d3b7cc0d hush: deal with some easier TODOs Denis Vlasenko 2009-04-09 19:16:15 +00:00
  • 1943aec2ec hush: plug the leak of expanded heredoc Denis Vlasenko 2009-04-09 14:15:57 +00:00
  • efea9d2819 hush: fix EXIT trap recursion case; check redirection failures Denis Vlasenko 2009-04-09 13:43:11 +00:00
  • f81e8dbc74 *: make "pragma GCC visibility push(hidden)" less ugly Denis Vlasenko 2009-04-09 12:35:13 +00:00
  • 327fd47f36 skip some tests when fancy echo support is turned off Mike Frysinger 2009-04-09 07:50:18 +00:00
  • c3d91952d6 we arent testing echo -n here so use printf instead Mike Frysinger 2009-04-09 07:50:02 +00:00
  • 20300d0129 source the .config so tests can signal they need to be skipped due to feature disable Mike Frysinger 2009-04-09 07:49:43 +00:00
  • fe013a74ff patch by Stuart Hughes <seh@zee2.com> and Guenter <lists@gknw.net> to make "0" a special baud rate for getty where it uses this as "leave baud rate unchanged" Mike Frysinger 2009-04-09 07:08:04 +00:00
  • f50caac53c hush: typo in comment Denis Vlasenko 2009-04-09 01:40:15 +00:00
  • a2218dd862 hush: fix thinko in re_execute_shell; pass even less junk to heredoc helper Denis Vlasenko 2009-04-09 01:39:02 +00:00
  • 5c090a96f9 hush: more rodust detection of unterminated strings etc; fix a case where we forget to copy cmd text; optimize nommu heredoc helper by not passing environment to it; add several tests Denis Vlasenko 2009-04-08 21:51:33 +00:00
  • ffe6f80851 expand leak_all1.tests Denis Vlasenko 2009-04-08 16:59:24 +00:00
  • 14725f82b6 slight tweak to the leak detector Denis Vlasenko 2009-04-08 16:46:45 +00:00
  • cc90f44402 hush: plug leak in run_pipe(). NOMMU only. Denis Vlasenko 2009-04-08 16:40:34 +00:00
  • 08daf564ae hush: add a leak test which currently fails Denis Vlasenko 2009-04-08 12:11:23 +00:00
  • c73b70c701 hush: add leak detector helper; fix/add tests for it Denis Vlasenko 2009-04-08 11:48:57 +00:00
  • 3dfb035d8d hush: echo \2>file fix Denis Vlasenko 2009-04-08 09:29:14 +00:00
  • df6f95cedf FEATURE_FANCY_ECHO needs to be accessible for hush Denis Vlasenko 2009-04-07 20:07:23 +00:00
  • 02d6f1ad72 hush: fix heredoc expansion of $var and cmd Denis Vlasenko 2009-04-07 19:56:55 +00:00
  • 25af86f73d hush: fix wrong comment Denis Vlasenko 2009-04-07 13:29:27 +00:00
  • af07b7c5b6 hush: fix heredoc <<- handling. hush-misc/heredoc2.tests testcase needs only one fix now - $var and cmd expancsion in heredocs Denis Vlasenko 2009-04-07 13:26:18 +00:00
  • 50f3aa4547 hush: NOMMU-safe support of big heredocs Denis Vlasenko 2009-04-07 10:52:40 +00:00
  • d4a24f2aae here documents have been added, so drop from TODO Mike Frysinger 2009-04-07 07:28:25 +00:00
  • 932e111418 use sleep rather than usleep Mike Frysinger 2009-04-07 06:08:14 +00:00
  • b509c9c670 add a pathological test case for here doc related to eof marker and other ugly corner cases Mike Frysinger 2009-04-07 06:06:05 +00:00
  • a4f331d3c3 implement support for parameter substitution via #/% operators Mike Frysinger 2009-04-07 06:03:22 +00:00
  • 6c9be7f451 hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org) some TODOs are to be attacked later Denis Vlasenko 2009-04-07 02:29:51 +00:00
  • ab2b064342 hush: s/last_return_code/last_exitcode/g Denis Vlasenko 2009-04-06 18:42:11 +00:00
  • 0e15138c03 hush: fix "if false; then...fi" exitcode; trim "keyword"-less hush by 10 bytes Denis Vlasenko 2009-04-06 18:40:31 +00:00
  • 4ed67dd3d5 make hush-misc/*.tests executable Denis Vlasenko 2009-04-06 18:10:20 +00:00
  • cd418a2670 hush: fix a bunch of obscure while/until/continue bugs Denis Vlasenko 2009-04-06 18:08:35 +00:00
  • 8f8d013afc *.tests should be executable Denis Vlasenko 2009-04-06 16:27:51 +00:00
  • 715f712d15 move hush-parsing/and-or.tests to hush-misc/* (which probably needs to be renamed to hush-execution...) Denis Vlasenko 2009-04-06 16:17:51 +00:00
  • 3a64833eb9 add some brute force logic tests Mike Frysinger 2009-04-06 14:22:54 +00:00
  • a2b11e3395 hush: fix "false && echo yes || echo no" bug 265 Denis Vlasenko 2009-04-06 14:11:13 +00:00
  • 0969a49c08 hush: beautify re_execute_shell more Denis Vlasenko 2009-04-06 13:05:57 +00:00
  • 34e573d2ce hush: drop allocations in re_execute_shell Denis Vlasenko 2009-04-06 12:56:28 +00:00
  • 3c7167b508 add tests for basic fd open/close/dupe Mike Frysinger 2009-04-06 12:36:10 +00:00
  • dc4178050a fix #>&- syntax for closing fds Mike Frysinger 2009-04-06 12:35:41 +00:00
  • 9052600feb fix redir1 tests -- usleep isnt standard in $PATH Mike Frysinger 2009-04-06 12:34:27 +00:00
  • 5e883fb00d hush: micro-optimization. -37 bytes Denis Vlasenko 2009-04-06 12:28:34 +00:00
  • b1d11bf45e hush: more efficient filtering of "safe" arithmetic Denis Vlasenko 2009-04-06 12:24:58 +00:00
  • d0b4a8c285 hush: add <> and () as "safe" arith chars Denis Vlasenko 2009-04-06 12:09:55 +00:00
  • bfbc971f9f hush: print cd error to stderr; use fopen_or_warn in builtin_source; prepare builtin_unset for function support libbb: do not clear errno in fopen_or_warn Denis Vlasenko 2009-04-06 12:04:42 +00:00
  • b0a6478eef hush: fix "export a=a b=b" (was not setting and exporting b) Denis Vlasenko 2009-04-06 11:33:07 +00:00
  • c8d27334a0 hush: update TODO list; + my usual pointless tweaks :( Denis Vlasenko 2009-04-06 10:47:21 +00:00
  • d3f973eab2 hush: mark SIGHUP TODOs better; don't disable SIGHUP for now, small tweaks to comments Denis Vlasenko 2009-04-06 10:21:42 +00:00
  • a0e65120b5 hush: cosmetics, no code changes Denis Vlasenko 2009-04-05 23:39:14 +00:00
  • f4393046ef modprobe/insmod for 2.4: support compressed modules. by Guenter (lists AT gknw.net) Denis Vlasenko 2009-04-05 23:25:09 +00:00
  • 913a201bf0 hush: strip NULs from file input, they are PITA/impossible to handle correctly Denis Vlasenko 2009-04-05 22:17:04 +00:00
  • 258275d85f drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER Mike Frysinger 2009-04-05 21:19:43 +00:00
  • c4a7af55e9 hush: fix trap clearing in subshells on MMU; simplify NOMMU a bit: Denis Vlasenko 2009-04-05 20:33:27 +00:00
  • f937528571 hush: audit and fix "interactive shell" setup code. Denis Vlasenko 2009-04-05 19:13:39 +00:00
  • 46f9b6db80 hush: pass $! thru re-execution; try harder on re-exec; give error msg if re-exec didn't work; other tweaks in main() Denis Vlasenko 2009-04-05 10:39:03 +00:00
  • 232be3e79b hush: suppress bogus warning from 4.2.1 Denis Vlasenko 2009-04-05 09:16:00 +00:00
  • 18f2a79f9b build system tweaks to account for latest hush changes Denis Vlasenko 2009-04-05 09:02:11 +00:00
  • d85a5df159 hush: randomconfig fixes Denis Vlasenko 2009-04-05 08:43:57 +00:00
  • cc4c693ec5 hush: plug the leak on NOMMU re-execute path Denis Vlasenko 2009-04-05 07:38:48 +00:00
  • c3ff48b921 fixing mode on hush-leak/leak_argv1.tests Denis Vlasenko 2009-04-05 02:14:59 +00:00
  • 8a496d5db0 fixing mode on hush-leak/leak_argv1.tests Denis Vlasenko 2009-04-05 02:14:37 +00:00
  • 30db43b5c5 hush: fix passing of $n on NOMMU Denis Vlasenko 2009-04-05 02:10:39 +00:00
  • 16a0c74f63 hush: fix hush-misc/break5.tests NOMMU failure Denis Vlasenko 2009-04-05 01:46:59 +00:00
  • 0bb4a23506 hush: fix all testsuite failures on NOMMU except memory leak. known TODOs: we do not pass traps and positional args yet. Denis Vlasenko 2009-04-05 01:42:59 +00:00
  • 609f2ab434 hush: enable NOMMU re-execution logic. Some testsuite entries fail on NOMMU. Before it was much worse. No regressions on MMU, size: Denis Vlasenko 2009-04-04 23:15:14 +00:00
  • 9aa7d6fdc5 hush: preparatory patch for NOMMU-safe { list } handling. Denis Vlasenko 2009-04-04 22:47:50 +00:00
  • 42e78b978f ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/ Denis Vlasenko 2009-04-04 20:34:22 +00:00
  • 34d4d89b2d hush: fix NOMMU hangs in pseudo_exec_argv. Add forgotted setting of signal mask. Reuse same help string in all shells. Denis Vlasenko 2009-04-04 20:24:37 +00:00
  • 552433bc5a hush: fix "var=val >file" not creating file Denis Vlasenko 2009-04-04 19:29:21 +00:00
  • a24c8caeb2 hush: remove code which errors out on $- and $_, it's useless; wrap some longish lines Denis Vlasenko 2009-04-04 15:24:40 +00:00
  • 7c9861214b hush: remove CHAR_xxx constants Denis Vlasenko 2009-04-04 12:15:42 +00:00
  • 6da69cddc0 hush: get rid of charmap[] Denis Vlasenko 2009-04-04 12:12:58 +00:00
  • dfa9de7176 simplify maybe_die() slightly Mike Frysinger 2009-04-03 22:48:10 +00:00
  • db2a9b683a hush: finally make cmd safe on NOMMU Denis Vlasenko 2009-04-03 22:31:18 +00:00
  • e0755e58ca hush: yet another randomconfig fix Denis Vlasenko 2009-04-03 21:16:45 +00:00
  • cc8289dc04 shell/math: randomconfig fix Denis Vlasenko 2009-04-03 21:13:31 +00:00
  • 60b392fd5b hush: randomconfig fixes Denis Vlasenko 2009-04-03 19:14:32 +00:00
  • b6e6556b31 hush: improve parse_stream: does not require parsing context struct; cleans up on syntax errors (we used to leak memory in this case); much simplified interface to the rest of hush. Denis Vlasenko 2009-04-03 16:49:04 +00:00
  • 240c255d8b hush: simplify parse_stream Denis Vlasenko 2009-04-03 03:45:05 +00:00
  • 3718168b87 hush: fix bug with local environment vars in pipes; simplify parse_stream() Denis Vlasenko 2009-04-03 03:19:15 +00:00
  • f9f7429346 hush: explain parsing context structure plug leak in setup_redirect on error path Denis Vlasenko 2009-04-03 00:07:05 +00:00
  • 027e3fddb5 hush: straighten parse_stream() API a bit Denis Vlasenko 2009-04-02 22:50:40 +00:00
  • a36258f288 trim trailing slashes from specified subdir so we output to the right place Mike Frysinger 2009-04-02 22:46:52 +00:00
  • b7aaae9052 hush: rename ->o_quote to ->o_escape hush_test/hush-arith/*: new tests for arithmetic evaluation Denis Vlasenko 2009-04-02 20:17:49 +00:00
  • 7a79afa3ca Arithmetic Expansion is supported now in hush, so drop from TODO Mike Frysinger 2009-04-02 17:06:35 +00:00
  • f328e00b10 hush: do not inadvertently parse $((1 + "22")) as ok. -20 bytes code size Denis Vlasenko 2009-04-02 16:55:38 +00:00
  • 2f1d394214 hush: make a=55; echo $(($a + 1)) $((1 + $((2)) + echo $a)) work as expected Denis Vlasenko 2009-04-02 16:31:29 +00:00
  • b29eb6ed25 shells: do not need to have math state global Denis Vlasenko 2009-04-02 13:46:27 +00:00
  • 0dfe1d26a9 fix ash-alias/alias.tests failure Denis Vlasenko 2009-04-02 12:57:38 +00:00
  • 98c52645c0 split math code out of ash and into a standalone library so we can use it in any shell (like hush!) Mike Frysinger 2009-04-02 10:02:37 +00:00
  • 551ffdccea more of pointless whitespace fixes Denis Vlasenko 2009-04-01 19:48:05 +00:00
  • bd79c3d337 dhcpd: remember and record hostnames; optimize get_option dumpleases: show hostnames Denis Vlasenko 2009-04-01 12:36:09 +00:00
  • 3266aa9ec2 trailing whitespace removal Denis Vlasenko 2009-04-01 11:24:04 +00:00
  • 88b8f0a347 sendmail: update by Vladimir build system: tweak for rare case where include/autoconf.h does not get updated Denis Vlasenko 2009-03-31 23:41:53 +00:00
  • d308106245 hust_test/*: use "$THIS_SH" instead of hush Denis Vlasenko 2009-03-31 22:14:32 +00:00
  • 9983d806d9 volumeid: fix bug 249 "findfs finds the wrong partition" Denis Vlasenko 2009-03-31 19:47:34 +00:00
  • f6fbd62760 ash: add/improve comments, no code changes Denis Vlasenko 2009-03-31 19:36:58 +00:00
  • 46aeab9a34 ash: fix $IFS handling in read. closes bug 235 Denis Vlasenko 2009-03-31 19:18:17 +00:00
  • 7566bae197 hush: fix wait builtin Denis Vlasenko 2009-03-31 17:24:49 +00:00