From a1a1a9fa2c9b9e15ad15d3a33cc08d3696d01f3f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 4 Sep 2005 11:13:10 +0000 Subject: Remove trailing crud from busybox.tests. (Sleep deprivation strikes again...) --- testsuite/busybox.tests | 75 ------------------------------------------------- 1 file changed, 75 deletions(-) (limited to 'testsuite/busybox.tests') diff --git a/testsuite/busybox.tests b/testsuite/busybox.tests index f26f01b0c..ba422a40c 100755 --- a/testsuite/busybox.tests +++ b/testsuite/busybox.tests @@ -45,79 +45,4 @@ testing "busybox as unknown name" "2>&1" "unknown: applet not found\n" "" "" rm -f busybox-suffix unknown -exit - -General cleanup of command line parsing to allow "busybox" to work as a prefix. -(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) - -Tests: -./busybox -./busybox-walrus -./busybox ls -./busybox-walrus ls -./busybox --help -./busybox-walrus --help -./busybox --help ls -./busybox-walrus --help ls -./busybox --help walrus -./busybox-walrus --help walrus - - - - - - - - - -# These tests require the full option set. - -# Longish chunk of data re-used by the next few tests - -data="42 1 3 woot -42 1 010 zoology -egg 1 2 papyrus -7 3 42 soup -999 3 0 algebra -" - -# Sorting with keys - -testing "sort one key" "-k4,4 input" \ -"999 3 0 algebra -egg 1 2 papyrus -7 3 42 soup -42 1 3 woot -42 1 010 zoology -" "$data" "" - -testing "sort key range with numeric option" "-k2,3n input" \ -"42 1 010 zoology -42 1 3 woot -egg 1 2 papyrus -7 3 42 soup -999 3 0 algebra -" "$data" "" - -# Busybox is definitely doing this one wrong just now... - -testing "sort key range with numeric option and global reverse" \ -"-k2,3n -r input" \ -"egg 1 2 papyrus -42 1 3 woot -42 1 010 zoology -999 3 0 algebra -7 3 42 soup -" "$data" "" - -# - -testing "sort key range with multiple options" "-k2,3rn input" \ -"7 3 42 soup -999 3 0 algebra -42 1 010 zoology -42 1 3 woot -egg 1 2 papyrus -" "$data" "" - exit $FAILCOUNT -- cgit v1.2.3