diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/perms.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/perms.test b/test/perms.test index 7539f67..af595cb 100644 --- a/test/perms.test +++ b/test/perms.test @@ -3,7 +3,7 @@ $ echo foo > foo $ chmod 704 foo - $ ls -l foo | awk '{ print $1,$NF }' + $ ls -l foo | awk '{ print substr($1, 1, 10), $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,$NF }' + $ ls -l foo | awk '{ print substr($1, 1, 10), $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,$NF }' + $ ls -l foo | awk '{ print substr($1, 1, 10), $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,$NF }' + $ ls -l foo | awk '{ print substr($1, 1, 10), $NF }' > -rwx---r-- foo $ quilt push -q > Applying patch %{P}test2.diff > Now at patch %{P}test2.diff - $ ls -l foo | awk '{ print $1,$NF }' + $ ls -l foo | awk '{ print substr($1, 1, 10), $NF }' > -rwx---r-- foo $ quilt pop -q |