Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/regress/expected/17_cat_offset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1
Object: {Name: "/offset_file", size: 22}
test data here
7 changes: 7 additions & 0 deletions test/regress/tests/17_cat_offset.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -ex

echo 'offset test data here' | yp-client --config test/regress/conf/yproxy.yaml -l fatal put 'offset_file'
yp-client --config test/regress/conf/yproxy.yaml -l fatal list ''
# Skip first 7 bytes ("offset "), read the rest
yp-client --config test/regress/conf/yproxy.yaml -l fatal cat --offset 7 'offset_file'