echo "\n"
echo "\n"
echo "Valid cases:"

echo "Testing all set options."

echo "Set the current values:"
cimconfig -s traceLevel=1 -c
cimconfig -s traceLevel=2 -c
cimconfig -s traceLevel=3 -c
cimconfig -s traceLevel=4 -c

cimconfig -s traceComponents=ALL -c
cimconfig -s traceComponents=Config -c
cimconfig -s traceComponents=Config,XmlParser -c

cimconfig -s traceFilePath=/tmp/test.trace -c
cimconfig -s traceFilePath=/tmp/test1.trace -c
cimconfig -s traceFilePath=/tmp/test.trace -c

echo "Testing all get options."

cimconfig -g traceLevel
cimconfig -g traceComponents
cimconfig -g traceFilePath

echo "Get the current values:"
cimconfig -g  traceLevel -c
cimconfig -g  traceComponents -c
cimconfig -g  traceFilePath -c

echo "Get the planned values:"
cimconfig -g traceLevel -p
cimconfig -g traceComponents -p
cimconfig -g traceFilePath -p

echo "Display properties:"
cimconfig -l -c

echo "Set the planned values:"
cimconfig -s traceLevel=1 -p
cimconfig -s traceLevel=2 -p
cimconfig -s traceLevel=3 -p
cimconfig -s traceLevel=4 -p

cimconfig -s traceComponents=ALL -p
cimconfig -s traceComponents=Config -p
cimconfig -s traceComponents=Config,XmlParser -p
cimconfig -s traceComponents= -p

cimconfig -s traceFilePath=/tmp/test.trace -p
cimconfig -s traceFilePath=/tmp/test1.trace -p
cimconfig -s traceFilePath=/tmp/test.trace -p

echo "Display properties:"
cimconfig -l -p

echo "Testing all unset options."

echo "Unset the current values: "
cimconfig -u traceLevel -c
cimconfig -u traceComponents -c
cimconfig -u traceFilePath -c

echo "Display properties:"
cimconfig -l -c

echo "Unset the planned values:"
cimconfig -u traceLevel -p
cimconfig -u traceComponents -p
cimconfig -u traceFilePath -p

echo "Display properties:"
cimconfig -l -p

