Commit f3c9c605 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Remove spurious cxx test output. Fixes #1675.

git-svn-id: file:///svn/toku/tokudb@11230 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0596c3f8
......@@ -115,24 +115,24 @@ check_a_bunch:
$(VGRIND) ./test_get_not_found $(SUMMARIZE_CMD)
check_db_create: db_create
rm -f $@.tdb
rm -rf $@.tdb
$(VGRIND) ./db_create -s main $@.tdb $(SUMMARIZE_CMD)
check_db_create_DSM: db_create
rm -f $@.tdb
rm -rf $@.tdb
$(VGRIND) ./db_create -D -S -s main $@.tdb $(SUMMARIZE_CMD)
check_db_create_1:
$(VGRIND) ./db_create > $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_2:
$(VGRIND) ./db_create -h 2> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_3:
$(VGRIND) ./db_create --help 2> $@.out; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_4:
$(VGRIND) ./db_create -s 2> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_1: db_create
$(VGRIND) ./db_create &> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_2: db_create
$(VGRIND) ./db_create -h &> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_3: db_create
$(VGRIND) ./db_create --help &> $@.out; test $$? -ne 0 $(SUMMARIZE_CMD)
check_db_create_4: db_create
$(VGRIND) ./db_create -s &> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_permissions:
rm -f permissions.tdb
./db_create permissions.tdb 1 1 && \
chmod -w permissions.tdb && \
(./db_create permissions.tdb 2 2 2> check_permissions.out; test $$? -ne 0) \
(./db_create permissions.tdb 2 2 &> check_permissions.out; test $$? -ne 0) \
$(SUMMARIZE_CMD)
......@@ -44,8 +44,8 @@ static int dbcreate(char *dbfile, char *dbname, int dbflags, int argc, char *arg
}
static int usage() {
printf("db_create [-s DBNAME] [-D] [-S] DBFILE [KEY VAL]*\n");
printf("[--set_data_dir DIRNAME]\n");
fprintf(stderr, "db_create [-s DBNAME] [-D] [-S] DBFILE [KEY VAL]*\n");
fprintf(stderr, "[--set_data_dir DIRNAME]\n");
return 1;
}
......
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