Commit 34c133ce authored by Per Cederqvist's avatar Per Cederqvist

Handle world-readable.

parent 73e835f4
......@@ -379,7 +379,7 @@ send "1113 95 0 { } 0 { }\n"
simple_expect "%1113 6 0" "modify-system-info"
# 96:query-predefined-aux-items
send "1114 96\n"
simple_expect "=1114 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }" "query-predefined-aux-items"
simple_expect "=1114 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }" "query-predefined-aux-items"
# 97:set-expire
send "1115 97 1 76\n"
simple_expect "%1115 6 0" "set-expire"
......
......@@ -138,7 +138,7 @@ simple_expect "=1009"
# exactly these aux-items. It shouldn't be hard to fix the test suite
# when more items are added.
send "1010 96\n"
simple_expect "=1010 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
simple_expect "=1010 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
send "1011 82\n"
simple_expect "=1011"
......@@ -1288,7 +1288,7 @@ simple_expect "=1348 $server_compat_version 1 2 3 4 0 1 { 1 9 5 $any_time 000000
# test call 96 (query-predefined-aux-items)
talk_to client 1
send "1349 96\n"
simple_expect "=1349 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
simple_expect "=1349 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
# test call 97 (set-expire)
send "1350 97 10 7123123\n"
......
......@@ -55,10 +55,10 @@ simple_expect "=1002 39 { 10003 10002 10001 10000 4000 3002 3001 3000 2007 2006
system "kill -WINCH $lyskomd_pid"
send "1003 96\n"
simple_expect "=1003 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
simple_expect "=1003 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
send "1004 96\n"
simple_expect "=1004 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
simple_expect "=1004 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
copy_aux $srcdir/lyskomd.0/aux-items.conf
......@@ -86,7 +86,7 @@ copy_aux $aux_item_default_conf_file
system "kill -WINCH $lyskomd_pid"
send "1009 96\n"
simple_expect "=1009 38 { 10104 10103 10102 10101 10100 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
simple_expect "=1009 39 { 10104 10103 10102 10101 10100 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 }"
send "1010 42 255\n"
simple_expect "=1010"
......
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