2 # description: Snapshot and tracing setting
9 echo "Allocate and take a snapshot"
12 # Since trace buffer is empty, snapshot is also empty, but allocated
13 grep -q "Snapshot is allocated" snapshot
15 echo "Ensure keep tracing off"
16 test `cat tracing_on` -eq 0
21 echo "Take a snapshot again"
24 echo "Ensure keep tracing on"
25 test `cat tracing_on` -eq 1