From 088b132971fc749e976aa8f20c21bb8c2c646186 Mon Sep 17 00:00:00 2001
From: "Bradley C. Kuszmaul" <bradley@tokutek.com>
Date: Wed, 21 Jan 2009 19:52:37 +0000
Subject: [PATCH] test1324 should not run under bdb.  Addresses #1324.

git-svn-id: file:///svn/toku/tokudb@9101 c7de825b-a66e-492c-adef-691d508d4ae1
---
 src/tests/Makefile   | 1 +
 src/tests/test1324.c | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/src/tests/Makefile b/src/tests/Makefile
index de1edada62b..8124b317664 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -42,6 +42,7 @@ BDB_DONTRUN_TESTS = \
 	keyrange-dupsort-unflat \
 	manyfiles \
 	test938c \
+	test1324 \
 	helgrind1 \
 	helgrind2 \
 	helgrind3 \
diff --git a/src/tests/test1324.c b/src/tests/test1324.c
index beb6b99d6c7..54519f09097 100644
--- a/src/tests/test1324.c
+++ b/src/tests/test1324.c
@@ -5,6 +5,10 @@
 #include <db.h>
 #include <fcntl.h>
 
+#ifndef USE_TDB
+#error This test only works for TokuDB.
+#endif
+
 void mkfile (const char *fname) {
     int fd = creat(fname, O_WRONLY);
     if (fd<0) perror("opening");
-- 
2.30.9