#
#
o # open cache
y # yes, use default cache
#-----------------------------------------------------
# check add without creation
#
l # list cache
#
a # add an entry, not create flag
will_not_be_created test_tag 0
#
l # list cache
#-----------------------------------------------------
# simple add/delete
#
a # add an entry with create flag
test_url test_tag 1
#
l # list cache
#
e # add done with previous values
3333L # timestamp
#
l # list cache
#
d # delete an entry
test_url test_tag
5555
#
l # list cache
#
#-----------------------------------------------------
# Add multiple cache url/tags
#
a # add an entry with create flag
multiple1 test_tag1 1
a # add an entry with create flag
multiple2 test_tag1 1
a # add an entry with create flag
multiple3 test_tag1 1
a # add an entry with create flag
multiple4 test_tag1 1
n # add done
multiple1 test_tag1
n # add done
multiple2 test_tag1
n # add done
multiple3 test_tag1
n # add done
multiple4 test_tag1
# Same tags
a # add an entry with create flag
multiple1 test_tag1 1
a # add an entry with create flag
multiple2 test_tag1 1
a # add an entry with create flag
multiple3 test_tag1 1
a # add an entry with create flag
multiple4 test_tag1 1
n # add done
multiple1 test_tag1
n # add done
multiple2 test_tag1
n # add done
multiple3 test_tag1
n # add done
multiple4 test_tag1
# Null tags
a # add an entry with create flag
multiple1 NULL 1
a # add an entry with create flag
multiple2 NULL 1
a # add an entry with create flag
multiple3 NULL 1
a # add an entry with create flag
multiple4 NULL 1
n # add done
multiple1 NULL
n # add done
multiple2 NULL
n # add done
multiple3 NULL
n # add done
multiple4 NULL
#
# list
l
c # close cache
x # exit

