summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt.changes7
-rw-r--r--test/Makefile2
-rw-r--r--test/perms.test12
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 ..