~ubuntu-branches/ubuntu/vivid/ctdb/vivid-proposed

« back to all changes in this revision

Viewing changes to tests/src/ctdb_fetch.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2011-11-06 15:18:59 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20111106151859-41lblk8ml4es7ra3
Tags: 1.11+git20111102-1
* New upstream release
  - removed 92-apache-service-enable.diff: integrated 
  - removed 99-fix-broken-readdir-test.diff: integrated
* d/rules, d/control, d/compat:
  - converted to dh (% target and dh_auto_*)
  - moved to compat level 9 (buildeps upgraded)
  - dh9 enabled hardening build flags
  - added hardening=+bindnow
  - dh9 enabled multiarch
    + Don't use /use/lib64 on ppc64 (Closes: #644907)
    + libctdb-dev is Multi-Arch: same
    + removed 10_no-lib64.diff: not needed with multiarch
* ctdb.init:
  - removed gettext support
  - synced with upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
 
208
208
        ev = event_context_init(NULL);
209
209
 
210
 
        ctdb = ctdb_cmdline_client(ev);
 
210
        ctdb = ctdb_cmdline_client(ev, timeval_current_ofs(3, 0));
211
211
 
212
212
        if (ctdb == NULL) {
213
213
                printf("failed to connect to ctdb daemon.\n");
218
218
                                 &cluster_ready);
219
219
 
220
220
        /* attach to a specific database */
221
 
        ctdb_db = ctdb_attach(ctdb, "test.tdb", false, 0);
 
221
        ctdb_db = ctdb_attach(ctdb, timeval_current_ofs(2, 0), "test.tdb",
 
222
                              false, 0);
222
223
        if (!ctdb_db) {
223
224
                printf("ctdb_attach failed - %s\n", ctdb_errstr(ctdb));
224
225
                exit(1);