summaryrefslogtreecommitdiff
path: root/tests/stdio_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-02-02 22:39:15 -0800
committerElliott Hughes <enh@google.com>2016-02-02 22:39:15 -0800
commite4fa6e9cc7f894a5a85ca50249b1f6e9efd49d3a (patch)
tree9e3f941adea3e014a39fcd89c6955f57cc9e5d3d /tests/stdio_test.cpp
parent3e75110bcb1d7b941ab0633e7e5c36c604512ded (diff)
Expose ftello64.
Also add the missing test that would have caught this. Bug: http://b/24807045 Change-Id: I756a4d825595b52396b15898e3f717156fd1ba2f
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r--tests/stdio_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index b6f652688..0d21dec57 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -1165,6 +1165,7 @@ TEST(STDIO_TEST, lots_of_concurrent_files) {
static void AssertFileOffsetAt(FILE* fp, off64_t offset) {
EXPECT_EQ(offset, ftell(fp));
EXPECT_EQ(offset, ftello(fp));
+ EXPECT_EQ(offset, ftello64(fp));
fpos_t pos;
fpos64_t pos64;
EXPECT_EQ(0, fgetpos(fp, &pos));