Commit 5f5a9e4f authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

move the pwrite4g test to the portabilty layer. closes #1537

git-svn-id: file:///svn/toku/tokudb@10069 c7de825b-a66e-492c-adef-691d508d4ae1
parent fe4b15d2
CPPFLAGS = -I../../toku_include -I..
CPPFLAGS = -D_GNU_SOURCE
CPPFLAGS += -I../../toku_include -I..
CFLAGS = -Wall -Werror -g -O0
LDFLAGS = ../libtokuportability.a -lpthread
SRCS = $(wildcard test-*.c)
......
#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
......
#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
......
../../windows/tests/test-pwrite4g.c
\ No newline at end of file
#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
......
......@@ -84,7 +84,6 @@ REGRESSION_TESTS_RAW = \
memtest \
omt-cursor-test \
omt-test \
pwrite4g \
shortcut \
test1305 \
test1308a \
......
/* Verify that toku_os_pwrite does the right thing when writing beyond 4GB. */
#include <fcntl.h>
#include "../toku_include/toku_portability.h"
#include "toku_portability.h"
#include <assert.h>
int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */
#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
#define _GNU_SOURCE
#include "toku_portability.h"
#include <stdio.h>
#include <string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment