mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-03 02:45:20 +00:00
Account for quoting style changes in coreutils.
In older versions of coreutils, quoted strings are occasionally output using utf-8 open/close single quotes. New versions of coreutils will exclusively use the ASCII single quote character "'" when the output is not a TTY - as is the case with all test scripts. We can avoid most of these problems by always setting LC_ALL=C in testing, however. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -47,7 +47,7 @@ four
|
|||||||
--- dir within dir
|
--- dir within dir
|
||||||
--- overwrite file
|
--- overwrite file
|
||||||
--- can't overwrite non-empty dir
|
--- can't overwrite non-empty dir
|
||||||
mv: cannot move ‘/mnt/test/test/basic-posix-consistency/dir/c/clobber’ to ‘/mnt/test/test/basic-posix-consistency/dir/a/dir’: Directory not empty
|
mv: cannot move '/mnt/test/test/basic-posix-consistency/dir/c/clobber' to '/mnt/test/test/basic-posix-consistency/dir/a/dir': Directory not empty
|
||||||
--- can overwrite empty dir
|
--- can overwrite empty dir
|
||||||
--- can rename into root
|
--- can rename into root
|
||||||
== path resoluion
|
== path resoluion
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ ino not found in dseq index
|
|||||||
mount 0 contents after mount 1 rm: contents
|
mount 0 contents after mount 1 rm: contents
|
||||||
ino found in dseq index
|
ino found in dseq index
|
||||||
ino found in dseq index
|
ino found in dseq index
|
||||||
stat: cannot stat ‘/mnt/test/test/inode-deletion/file’: No such file or directory
|
stat: cannot stat '/mnt/test/test/inode-deletion/file': No such file or directory
|
||||||
ino not found in dseq index
|
ino not found in dseq index
|
||||||
ino not found in dseq index
|
ino not found in dseq index
|
||||||
== lots of deletions use one open map
|
== lots of deletions use one open map
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ offline waiting should now have two known entries:
|
|||||||
data_wait_err found 2 waiters.
|
data_wait_err found 2 waiters.
|
||||||
offline waiting should now have 0 known entries:
|
offline waiting should now have 0 known entries:
|
||||||
0
|
0
|
||||||
dd: error reading ‘/mnt/test/test/offline-extent-waiting/dir/file’: Input/output error
|
dd: error reading '/mnt/test/test/offline-extent-waiting/dir/file': Input/output error
|
||||||
0+0 records in
|
0+0 records in
|
||||||
0+0 records out
|
0+0 records out
|
||||||
dd: error reading ‘/mnt/test/test/offline-extent-waiting/dir/file’: Input/output error
|
dd: error reading '/mnt/test/test/offline-extent-waiting/dir/file': Input/output error
|
||||||
0+0 records in
|
0+0 records in
|
||||||
0+0 records out
|
0+0 records out
|
||||||
offline waiting should be empty again:
|
offline waiting should be empty again:
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# Force system tools to use ASCII quotes
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
#
|
#
|
||||||
# XXX
|
# XXX
|
||||||
# - could have helper functions for waiting for pids
|
# - could have helper functions for waiting for pids
|
||||||
|
|||||||
Reference in New Issue
Block a user