diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-06 09:20:04 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-06 09:20:04 +0000 |
commit | 3201f0f38d25b73258575f6e2e651b7049432e1f (patch) | |
tree | a827508877b96dcf3cd952e5d569571ea7f9f9b3 | |
parent | be57f6248ee08bd3f49b5e44ad34989566400f0a (diff) | |
download | quilt-3201f0f38d25b73258575f6e2e651b7049432e1f.tar.gz |
- Fix test/perms.test for LANG=POSIX (from John Vandenberg
<jayvdb@gmail.com>), and always run the test cases with LANG set
to POSIX.
-rw-r--r-- | quilt.changes | 7 | ||||
-rw-r--r-- | test/Makefile | 2 | ||||
-rw-r--r-- | test/perms.test | 12 |
3 files changed, 14 insertions, 7 deletions
diff --git a/quilt.changes b/quilt.changes index f191a89..87ce53e 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Sep 6 11:17:10 CEST 2005 - agruen@suse.de + +- Fix test/perms.test for LANG=POSIX (from John Vandenberg + <jayvdb@gmail.com>), and always run the test cases with LANG set + to POSIX. + +------------------------------------------------------------------- Sun Sep 4 14:09:10 CEST 2005 - khali@linux-fr.org - quilt/diff.in: Fix incorrect error message when incompatible diff --git a/test/Makefile b/test/Makefile index ca75741..17d62d7 100644 --- a/test/Makefile +++ b/test/Makefile @@ -13,4 +13,4 @@ all: $(TESTS) $(TESTS): @echo "[$@]" - @./run $@ + @LANG=POSIX ./run $@ diff --git a/test/perms.test b/test/perms.test index 83327c5..d592e14 100644 --- a/test/perms.test +++ b/test/perms.test @@ -3,7 +3,7 @@ $ cd d $ echo foo > foo $ chmod 704 foo - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx---r-- foo $ quilt new test.diff @@ -12,7 +12,7 @@ $ quilt add foo > File foo added to patch %{P}test.diff - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx---r-- foo $ echo foobar > foo @@ -26,7 +26,7 @@ > File foo added to patch %{P}test2.diff $ chmod 702 foo - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx----w- foo $ echo foobaz > foo @@ -41,14 +41,14 @@ the backup file. > Removing patch %{P}test2.diff > Now at patch %{P}test.diff - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx---r-- foo $ quilt push -q > Applying patch %{P}test2.diff > Now at patch %{P}test2.diff - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx---r-- foo $ quilt pop -q @@ -58,7 +58,7 @@ the backup file. $ quilt remove foo > File foo removed from patch %{P}test.diff - $ ls -l foo | awk '{ print $1,$8 }' + $ ls -l foo | awk '{ print $1,$NF }' > -rwx---r-- foo $ cd .. |