Commit 081fe676 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix the cxx permissions tests refs[t:2377]

git-svn-id: file:///svn/toku/tokudb@17854 c7de825b-a66e-492c-adef-691d508d4ae1
parent dd4d1192
...@@ -66,7 +66,7 @@ clean: ...@@ -66,7 +66,7 @@ clean:
tokudb.environment \ tokudb.environment \
test_error_stream_cpp_tdb_0_b.tokudb \ test_error_stream_cpp_tdb_0_b.tokudb \
test_reverse_compare_fun_cpp_dir_reverse_compare_db_main_0_b.tokudb\ test_reverse_compare_fun_cpp_dir_reverse_compare_db_main_0_b.tokudb\
permissions_tdb_0_b.tokudb \ permissions_tdb_*.tokudb \
test_cursor_count_cpp_tdb_0_b.tokudb \ test_cursor_count_cpp_tdb_0_b.tokudb \
check_db_create_tdb_main_0_b.tokudb \ check_db_create_tdb_main_0_b.tokudb \
tokudb.directory \ tokudb.directory \
...@@ -155,8 +155,8 @@ check_db_create_4: db_create ...@@ -155,8 +155,8 @@ check_db_create_4: db_create
$(VGRIND) ./db_create -s &> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD) $(VGRIND) ./db_create -s &> $@.out ; test $$? -ne 0 $(SUMMARIZE_CMD)
check_permissions: check_permissions:
rm -f permissions_tdb_0_b.tokudb && \ rm -f permissions_tdb_*.tokudb && \
./db_create permissions.tdb 1 1 && \ ./db_create permissions.tdb 1 1 && \
chmod -w permissions_tdb_0_b.tokudb && \ chmod -w permissions_tdb_*.tokudb && \
(./db_create permissions.tdb 2 2 &> check_permissions.out 2>&1 ; test $$? -ne 0) \ (./db_create permissions.tdb 2 2 &> check_permissions.out 2>&1 ; test $$? -ne 0) \
$(SUMMARIZE_CMD) $(SUMMARIZE_CMD)
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