[sheepdog] [PATCH v2] tests/functional: fixed 062
Kai Zhang
kyle at zelin.io
Tue Jul 2 03:56:07 CEST 2013
?? which is appeared in 062 could make test result unstable.
This is becuase ?? will be assumed as wildcare of filename.
For example, if there is a file named 'fi' in the directory,
?? will return 'fi' but not '??'. So the test will fail.
This patch fixed the problem by replace ?? to ^^.
Signed-off-by: Kai Zhang <kyle at zelin.io>
---
v2:
- update commit log
tests/functional/062 | 2 +-
tests/functional/062.out | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/functional/062 b/tests/functional/062
index 0fe16b0..782b30e 100755
--- a/tests/functional/062
+++ b/tests/functional/062
@@ -35,7 +35,7 @@ $COLLIE vdi read test 1 6
echo h*** | $COLLIE vdi write test 510 512
echo h!!! | $COLLIE vdi write test 510 512
$COLLIE vdi read test 510 5
-echo ?? | $COLLIE vdi write test 511 2
+echo ^^ | $COLLIE vdi write test 511 2
$COLLIE vdi read test 510 5
echo xxx | $COLLIE vdi write test 1020 4
$COLLIE vdi read test 1020 4
diff --git a/tests/functional/062.out b/tests/functional/062.out
index 98a9738..104c0a7 100644
--- a/tests/functional/062.out
+++ b/tests/functional/062.out
@@ -4,7 +4,7 @@ using backend plain store
hello
world
h!!!
-h??!
+h^^!
xxx
-h??!
+h^^!
world
--
1.7.9.5
More information about the sheepdog
mailing list