]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
add a beginning of a new test
authorRonnie sahlberg <ronniesahlberg@gmail.com>
Thu, 12 Apr 2007 11:17:10 +0000 (21:17 +1000)
committerRonnie sahlberg <ronniesahlberg@gmail.com>
Thu, 12 Apr 2007 11:17:10 +0000 (21:17 +1000)
right now this test only does one fetch lock   but this will be enhanced as more code is added to ctdb to handle fetch_lock and store_unlock

(This used to be ctdb commit 996f117d9181dee22aea979ce04333035f5522c7)

ctdb/Makefile.in

index abd21520153e299a55da275d0f37d88169bc8837..e0baf53045911758d0bf7393d4ec587af7b414e3 100644 (file)
@@ -30,7 +30,7 @@ CTDB_OBJ = $(CTDB_COMMON_OBJ) $(CTDB_TCP_OBJ)
 
 OBJS = @TDBOBJ@ @TALLOCOBJ@ @LIBREPLACEOBJ@ @INFINIBAND_WRAPPER_OBJ@ $(EXTRA_OBJ) $(EVENTS_OBJ) $(CTDB_OBJ)
 
-BINS = bin/ctdbd bin/ctdbd_test bin/ctdb_test bin/ctdb_bench bin/ctdb_messaging bin/ctdb_fetch @INFINIBAND_BINS@
+BINS = bin/ctdbd bin/ctdbd_test bin/ctdb_test bin/ctdb_bench bin/ctdb_messaging bin/ctdb_fetch bin/ctdb_fetch1 @INFINIBAND_BINS@
 
 DIRS = lib bin
 
@@ -69,6 +69,10 @@ bin/ctdb_fetch: $(OBJS) tests/ctdb_fetch.o
        @echo Linking $@
        @$(CC) $(CFLAGS) -o $@ tests/ctdb_fetch.o $(OBJS) $(LIB_FLAGS)
 
+bin/ctdb_fetch1: $(OBJS) tests/ctdb_fetch1.o
+       @echo Linking $@
+       @$(CC) $(CFLAGS) -o $@ tests/ctdb_fetch1.o $(OBJS) $(LIB_FLAGS)
+
 bin/ctdb_messaging: $(OBJS) tests/ctdb_messaging.o
        @echo Linking $@
        @$(CC) $(CFLAGS) -o $@ tests/ctdb_messaging.o $(OBJS) $(LIB_FLAGS)