diff options
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/readdir0.awk | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 6ff3d8ca..50f10ad7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,10 @@ 2013-11-27 Andrew J. Schorr <aschorr@telemetry-investments.com> + * readdir0.awk: Restore fix so that we do not fail on filesysystems + such as XFS where the dirent does not contain the file type. + +2013-11-27 Andrew J. Schorr <aschorr@telemetry-investments.com> + * Makefile.am (ordchr2): Use --load instead of -l to make sure the long option works properly. Note that the readfile test still uses the short version. diff --git a/test/readdir0.awk b/test/readdir0.awk index f16f4818..5aedbf70 100644 --- a/test/readdir0.awk +++ b/test/readdir0.awk @@ -41,5 +41,5 @@ BEGIN { printf("mismatch: %d from `ls -afi' and %d from `ls -l'\n", i, j) > "/dev/stderr" for (i = 1; i in names; i++) - printf("%s/%s/%s\n", ino[names[i]], names[i], type[names[i]]) + printf("%s/%s/%s\n", ino[names[i]], names[i], (ftype_unknown ? "u" : type[names[i]])) } |