summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-10Ok, I've converted the contents of the "testing/sed" directory into a Rob Landley
sed.tests file. My brain hurts now. (Lots of boggling at sed minutiae and corner cases and going "why is gnu giving that output". The behavior of N and n with regard to EOF are only understandable if you read the Open Group spec, not if you read the sed info page, by the way...) Some of the existing sed tests are just nuts. For example, sed-next-line is testing for our behavior (which is wrong), and would fail if run against gnu sed (which was getting it right. Again, this was a spec-boggling moment, with much head scratching. I've got to add a debug mode where the stuff output by the p command is a different color from the stuff output by normal end of script printing (when not suppressed by -n).) As for sed-handles-unsatisifed-backrefs: what is this test trying to _do_? I ran it against gnu sed and got an error message, and this behavior sounds perfectly reasonable. (It _is_ an unsatisfied backref.) The fact we currently ignore this case (and treat \1 as an empty string) isn't really behavior we should have a test depend on for success. The remaining one is sed-aic-commands, which is long and complicated. I'm trying to figure out if I should chop this into a number of smaller tests, or if having one big "does-many-things" test is a good idea. In any case, the _next_ step is to go through the Open Group standard and make tests for every case not yet covered. (And there are plenty. There are few comments in the file already.) Plus I have notes about corner cases from development that I need to collate and put into here. This file is maybe the first 1/3 of a truly comprehensive sed test. Rob
2005-11-09change osbolete sigpause() to sigsuspend()"Vladimir N. Oleynik"
2005-11-08Patch from Tomasz Mateja: don't try to CWD to a _filename_, just send the fullRob Landley
path to the STOR command.
2005-11-07It was a bit out of date.Rob Landley
2005-11-07Fix the test suite so that individual *.tests files can be run alaRob Landley
COMMAND=sort ./sort.tests So we can compare against non-busybox versions, and possibly our testsuite will be useful to somebody like the Linux Test Project someday. Redid testing.sh to add new command, "optional", to skip tests that require certain features. (use: `optional FEATURE_SORT_BIG`, or `optional ""` to stop skipping.) Note that optional is a NOP if the environment variable "OPTIONFLAGS" is blank, so although we're marking up the tests with busybox specific knowledge, it doesn't interfere with running the tests without busybox. Moved setting the "OPTIONFLAGS" environment variable to runtest. Philosophy: busybox-specific stuff belongs in runtest; both testing.sh and the tests themselves should be as busybox-agnostic as possible. Moved detecting that a command isn't in busybox at all (hence skipping the entire command.tests file) to runtests. Rationale: optional can't currently test for more than one feature at a time, so if we clear anything with optional "" we might perform tests we don't want to. Marked up busybox.tests to know which tests need CAT enabled. Fixed up other tests to be happy with new notation. I suspect egrep should be appended to grep. It's a sub-feature, really...
2005-11-06Yann E. Morin pointed out that rpcsvc/nfs_prot.h isn't needed with anyRob Landley
reasonably recent glibc, and breaks with uClibc. So yank it.
2005-11-04Size I zapped the bb_close() error, might as well make a TODO item.Rob Landley
2005-11-04Fix bug 424: doing full_read breaks things like cat which should return aRob Landley
chunk of data when they get it and not block until they've buffered 4k. The use case was cat /proc/psaux, but you can also reproduce this by running non-busybox cat by itself and typing things at the command line. Then run busybox cat. Notice how cat is _supposed_ to echo each line back to us as we hit enter?
2005-11-04When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.Rob Landley
2005-11-04It's no longer a temporary location. Smooth out the text a bit.Rob Landley
2005-11-03point to the official linksEric Andersen
2005-11-03Announce 1.1.0-pre1 already. Erik, please move links to the downloads directoryRob Landley
once you've got the signed tarballs up.
2005-11-01Fix cp /dev/null filename, and a few in-passing cleanups.Rob Landley
2005-10-31We've got fuser, fix some typos, and move Vodz's comment about UTF8 intoRob Landley
a new "internationalization" section, with some related concerns.
2005-10-30\0 is a synonym for &. Our own "make allbaseconfig" breaks without this.Rob Landley
2005-10-29add ZyXEL to the shame listMike Frysinger
2005-10-29fix <p> and <a> tagsMike Frysinger
2005-10-29update doctype and add a charset encodingMike Frysinger
2005-10-28- add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.Bernhard Reutner-Fischer
Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch.
2005-10-28update"Vladimir N. Oleynik"
2005-10-28Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for ↵"Vladimir N. Oleynik"
scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me
2005-10-28bb_opt_complementally for rdate applet. Add losed record to ↵"Vladimir N. Oleynik"
util-linux/Makefile.in for switch_root applet
2005-10-28New applet, fuser, from Tony J. White. (Needs some cleanup.)Rob Landley
2005-10-28- move GETXXKEY_R_FUNC into an internal helper file to allow for compilingBernhard Reutner-Fischer
with IMA.
2005-10-28- remove warning about "'static' is not at beginning of declaration".Bernhard Reutner-Fischer
2005-10-28Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley
2005-10-27Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)
2005-10-27Somebody suggested this, but I've forgotten who.Rob Landley
2005-10-27Add --no-same-owner and --no-same-permissions options to tar.Rob Landley
2005-10-27- Matthias Wenzel writes:Bernhard Reutner-Fischer
without the fix below md5sum will always report a correct md5 on _any_ wrongly formattet input files. - use short boilerplate and remove superfluous keyword extern.
2005-10-27- correct boilerplateBernhard Reutner-Fischer
- use bb_xgetlarg for the patch_level to catch invalid arguments.
2005-10-27Reference for new patch feature we'll need to be compatible with...Rob Landley
2005-10-26 * uniq.c: remove unneeded include and use short boilerplate.Bernhard Reutner-Fischer
* coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate.
2005-10-25Update the TODO list to reflect stuff we've already done.Rob Landley
2005-10-25Shaun Jackman noted that limits.h defines path_max and isn't included fromRob Landley
find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems. Someday, someone's going to have to clarify for me the difference between those two...)
2005-10-25Two changes. One from Shaun Jackman makes libbb/interface.c compile only ifRob Landley
it's going to be used. (I'm guessing it doesn't work with newlib.) The other one is from me: allyesconfig shouldn't enable devfs because that changes all sorts of unrelated stuff (like /dev/loop0->dev/loop/0), which can come as a bit of a surprise. (It's still there, but you have to go into menuconfig and select it manually.)
2005-10-21- fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.Bernhard Reutner-Fischer
2005-10-20another more const"Vladimir N. Oleynik"
2005-10-20more const"Vladimir N. Oleynik"
2005-10-19more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"
2005-10-17- consume space between functionname and opening bracketsBernhard Reutner-Fischer
Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html)
2005-10-17more const, use bb_getopt_ulflags, insert XXX for show place of problems"Vladimir N. Oleynik"
2005-10-17data --> text"Vladimir N. Oleynik"
2005-10-16The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,Rob Landley
which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar.
2005-10-16Whitespace and curly bracket cleanup (our tabstop is 4 in busybox),Rob Landley
and switch more stuff from CONFIG to ENABLE.
2005-10-15- don't update copyright years. He might release it, but apparently will haveBernhard Reutner-Fischer
to update the year himself.
2005-10-15more const, all data to text"Vladimir N. Oleynik"
2005-10-1520 bytes data to bss"Vladimir N. Oleynik"
2005-10-15- an empty middle term in ?: violates ISO CBernhard Reutner-Fischer
- use shorter boilerplate and use C89 style comments
2005-10-15data --> code"Vladimir N. Oleynik"