2 # Ensure that an invalid domain ID isn't interpreted as a valid one.
3 # Before, an ID of 2^32+2 would be treated just like an ID of 2.
5 .
"$(dirname $0)/test-lib.sh"
7 if test "$VERBOSE" = yes; then
9 $abs_top_builddir/tools
/virsh
--version
12 echo "error: failed to get domain '4294967298'" > exp || fail
=1
13 $abs_top_builddir/tools
/virsh
--quiet \
14 --connect test://$abs_top_srcdir/examples
/xml
/test
/testnode.xml \
15 'domname 4294967298; quit' > /dev
/null
2> err || fail
=1
16 diff -u err exp || fail
=1