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

More fixes. This may actually result in a fix for #2285 but #2284 is blocking...

More fixes.  This may actually result in a fix for #2285 but #2284 is blocking the fix. Refs #2285, [t:2285]

git-svn-id: file:///svn/toku/tokudb@16843 c7de825b-a66e-492c-adef-691d508d4ae1
parent 18defacb
......@@ -90,8 +90,8 @@ check_test_error_stream: test_error_stream
$(VGRIND) ./test_error_stream 2> $@.out $(SUMMARIZE_CMD)
check_test1e: test1e
$(VGRIND) ./test1e > test1eactual.out && \
(echo "Prefix: Hello Name!";echo -n ": Success") > test1expect.out && \
$(VGRIND) ./test1e > test1eactual.out
(echo "Prefix: Hello Name!";echo -n ": Success") > test1expect.out
diff test1eactual.out test1expect.out \
$(SUMMARIZE_CMD)
......@@ -151,8 +151,8 @@ 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 &> check_permissions.out; test $$? -ne 0) \
$(SUMMARIZE_CMD)
rm -f permissions.tdb & \
./db_create permissions.tdb 1 1 & \
chmod -w permissions_tdb_0_b.tokudb & \
(./db_create permissions.tdb 2 2 &> check_permissions.out; test $$? -ne 0) \
$(SUMMARIZE_CMD)
......@@ -33,7 +33,6 @@ void test_db_env(void) {
int r;
r = dbenv.set_data_dir("."); assert(r == 0);
r = dbenv.set_data_dir(".."); assert(r == 0);
try {
r = dbenv.set_data_dir(NULL);
abort();
......
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