summaryrefslogtreecommitdiffstats
path: root/src/test/osd
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2016-02-10 14:55:08 +0100
committerSage Weil <sage@redhat.com>2016-02-10 14:55:08 +0100
commit30b257c66b9d35d2f32221f76a391d18ead65756 (patch)
tree12d65f17de16d81720587ed4b48c535710d53b61 /src/test/osd
parentMerge pull request #7496 from xiexingguo/xxg-wip-fixnvme (diff)
downloadceph-30b257c66b9d35d2f32221f76a391d18ead65756.tar.xz
ceph-30b257c66b9d35d2f32221f76a391d18ead65756.zip
ghobject_t: use ! instead of @ as a separator
@ confuses less's search (/ then @ does not do what you want). ! behaves as expected. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/test/osd')
-rw-r--r--src/test/osd/types.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/test/osd/types.cc b/src/test/osd/types.cc
index ca1e56a0c3f..371319bccce 100644
--- a/src/test/osd/types.cc
+++ b/src/test/osd/types.cc
@@ -1442,15 +1442,15 @@ TEST(ghobject_t, parse) {
const char *v[] = {
"GHMIN",
"GHMAX",
- "13@0:00000000::::head@",
- "13@0:00000000::::head@deadbeef",
- "@-1:60c2fa6d:::inc_osdmap.1:333@deadbeef",
- "@-1:60c2fa6d:::inc%02osdmap.1:333@deadbeef",
- "@-1:60c2fa6d:::inc_osdmap.1:333@",
- "1@MIN@deadbeefff",
- "1@MAX@",
- "@MAX@123",
- "@-40:00000000:nspace::obj:head@",
+ "13!0:00000000::::head!",
+ "13!0:00000000::::head!deadbeef",
+ "!-1:60c2fa6d:::inc_osdmap.1:333!deadbeef",
+ "!-1:60c2fa6d:::inc%02osdmap.1:333!deadbeef",
+ "!-1:60c2fa6d:::inc_osdmap.1:333!",
+ "1!MIN!deadbeefff",
+ "1!MAX!",
+ "!MAX!123",
+ "!-40:00000000:nspace::obj:head!",
NULL
};