diff options
author | Denis Vlasenko | 2006-09-17 16:28:10 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-17 16:28:10 +0000 |
commit | 9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch) | |
tree | 94c3c0678d1349497abe2db6004e9331e50f6d37 /testsuite | |
parent | a6127aacef047ed7661722705b052811fbe7f467 (diff) | |
download | busybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip busybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz |
whitespace cleanup
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/cp/cp-dir-create-dir | 6 | ||||
-rw-r--r-- | testsuite/cp/cp-dir-existing-dir | 6 | ||||
-rwxr-xr-x | testsuite/grep.tests | 2 | ||||
-rwxr-xr-x | testsuite/mount.testroot | 2 | ||||
-rwxr-xr-x | testsuite/pidof.tests | 4 | ||||
-rwxr-xr-x | testsuite/readlink.tests | 2 | ||||
-rwxr-xr-x | testsuite/sed.tests | 4 | ||||
-rwxr-xr-x | testsuite/sort.tests | 4 | ||||
-rwxr-xr-x | testsuite/testing.sh | 2 | ||||
-rw-r--r-- | testsuite/tr/tr-works | 2 | ||||
-rwxr-xr-x | testsuite/uniq.tests | 2 |
11 files changed, 18 insertions, 18 deletions
diff --git a/testsuite/cp/cp-dir-create-dir b/testsuite/cp/cp-dir-create-dir index 2c89af6..a8d7b50 100644 --- a/testsuite/cp/cp-dir-create-dir +++ b/testsuite/cp/cp-dir-create-dir @@ -1,4 +1,4 @@ -mkdir bar +mkdir bar touch bar/baz -busybox cp -R bar foo -test -f foo/baz +busybox cp -R bar foo +test -f foo/baz diff --git a/testsuite/cp/cp-dir-existing-dir b/testsuite/cp/cp-dir-existing-dir index 5ba3f8e..4c788ba 100644 --- a/testsuite/cp/cp-dir-existing-dir +++ b/testsuite/cp/cp-dir-existing-dir @@ -1,5 +1,5 @@ -mkdir bar +mkdir bar touch bar/baz mkdir foo -busybox cp -R bar foo -test -f foo/bar/baz +busybox cp -R bar foo +test -f foo/bar/baz diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 0654905..ef0de48 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests @@ -4,7 +4,7 @@ # Copyright 2005 by Rob Landley <rob@landley.net> # Licensed under GPL v2, see file LICENSE for details. -# AUDIT: +# AUDIT: . testing.sh diff --git a/testsuite/mount.testroot b/testsuite/mount.testroot index 4ab6b94..e18d046 100755 --- a/testsuite/mount.testroot +++ b/testsuite/mount.testroot @@ -86,7 +86,7 @@ testing "mount remount nonexistent directory" \ # Fun with mount -a -testing "mount -a no fstab" "mount -a 2>/dev/null || echo yes" "yes\n" "" "" +testing "mount -a no fstab" "mount -a 2>/dev/null || echo yes" "yes\n" "" "" umount /proc diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests index 831dd24..bfde26e 100755 --- a/testsuite/pidof.tests +++ b/testsuite/pidof.tests @@ -4,7 +4,7 @@ # Copyright 2005 by Bernhard Fischer # Licensed under GPL v2, see file LICENSE for details. -# AUDIT: +# AUDIT: . testing.sh @@ -24,6 +24,6 @@ testing "pidof -s" "pidof -s init" "1\n" "" "" optional FEATURE_PIDOF_OMIT testing "pidof -o %PPID" "pidof -o %PPID pidof.tests | grep -o -w $$" "" "" "" testing "pidof -o %PPID NOP" "pidof -o %PPID -s init" "1\n" "" "" -testing "pidof -o init" "pidof -o 1 init | grep -o -w 1" "" "" "" +testing "pidof -o init" "pidof -o 1 init | grep -o -w 1" "" "" "" exit $FAILCOUNT diff --git a/testsuite/readlink.tests b/testsuite/readlink.tests index fc04702..0faa6ed 100755 --- a/testsuite/readlink.tests +++ b/testsuite/readlink.tests @@ -28,5 +28,5 @@ testing "readlink -f on a wierd dir" "readlink -f $TESTDIR/../$TESTFILE" "$PWD/$ # clean up -rm -r "$TESTLINK" "$TESTDIR" +rm -r "$TESTLINK" "$TESTDIR" diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 9d2be55..2a0d4ea 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -116,7 +116,7 @@ testing "sed leave off trailing newline" "sed -e 's/woo/bang/' input -" \ testing "sed autoinsert newline" "sed -e 's/woo/bang/' input -" "bang\nbang" \ "woo" "woo" testing "sed empty file plus cat" "sed -e 's/nohit//' input -" "one\ntwo" \ - "" "one\ntwo" + "" "one\ntwo" testing "sed cat plus empty file" "sed -e 's/nohit//' input -" "one\ntwo" \ "one\ntwo" "" testing "sed append autoinserts newline" "sed -e '/woot/a woo' -" \ @@ -138,7 +138,7 @@ testing "sed selective matches noinsert newline" \ "c no\nd no" testing "sed clusternewline" \ "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \ - "one\none\n111\n222\ntwo\ntwo" "one" "two" + "one\none\n111\n222\ntwo\ntwo" "one" "two" # Test end-of-file matching behavior diff --git a/testsuite/sort.tests b/testsuite/sort.tests index cd2e291..5a4937b 100755 --- a/testsuite/sort.tests +++ b/testsuite/sort.tests @@ -56,7 +56,7 @@ testing "sort key range with numeric option and global reverse" \ 7 3 42 soup " "$data" "" -# +# testing "sort key range with multiple options" "sort -k2,3rn input" \ "7 3 42 soup @@ -67,7 +67,7 @@ egg 1 2 papyrus " "$data" "" testing "sort key doesn't strip leading blanks, disables fallback global sort" \ -"sort -n -k2 -t ' '" " a \n 1 \n 2 \n" "" " 2 \n 1 \n a \n" +"sort -n -k2 -t ' '" " a \n 1 \n 2 \n" "" " 2 \n 1 \n a \n" testing "sort key edge case with -t" "sort -n -k4 -t/" \ "/usr/lib/finish-install.d/1 diff --git a/testsuite/testing.sh b/testsuite/testing.sh index 8bd23d8..e253e1a 100755 --- a/testsuite/testing.sh +++ b/testsuite/testing.sh @@ -76,7 +76,7 @@ testing () echo -ne "$5" | eval "$2" > actual RETVAL=$? - cmp expected actual > /dev/null + cmp expected actual > /dev/null if [ $? -ne 0 ] then FAILCOUNT=$[$FAILCOUNT+1] diff --git a/testsuite/tr/tr-works b/testsuite/tr/tr-works index b7a6e8d..9b2e90e 100644 --- a/testsuite/tr/tr-works +++ b/testsuite/tr/tr-works @@ -7,7 +7,7 @@ run_tr () tr_test () { run_tr "cbaab" abc zyx - run_tr "TESTING A B C" '[A-Z]' '[a-z]' + run_tr "TESTING A B C" '[A-Z]' '[a-z]' run_tr "abc[]" "a[b" AXB run_tr abc '[:alpha:]' A-ZA-Z run_tr abc56 '[:alnum:]' A-ZA-Zxxxxxxxxxx diff --git a/testsuite/uniq.tests b/testsuite/uniq.tests index a1b69c2..49d4bed 100755 --- a/testsuite/uniq.tests +++ b/testsuite/uniq.tests @@ -40,7 +40,7 @@ testing "uniq input - (specify stdout)" "uniq input -" \ #-s skip chars #-c occurrences #-d dups only -#-u +#-u # Test various command line options |