#!/bin/bash

echo "Test 5 (../ getValue)"
#This should fail:
# Note, if ../xxx0123/b exists, it'll succeed and the test will report failure
dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.GetValue string:'memory' string:"../xxx0123/b" string:'memory.usage_in_bytes' > /dev/null 2>&1
if [ $? -eq 0 ]; then
	exit 1
fi
exit 0
