whitespace cleanup

This commit is contained in:
Denis Vlasenko 2006-09-17 16:28:10 +00:00
parent a6127aacef
commit 9213a9e0f2
92 changed files with 218 additions and 218 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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]

View file

@ -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

View file

@ -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