Blame tests/shell/testcases/sets/0023incomplete_add_set_command_0

Packit c5a612
#!/bin/bash
Packit c5a612
Packit c5a612
# This testscase checks bug identified and fixed in the commit Id "c6cd7c22548a"
Packit c5a612
# Before the commit c6cd7c22548a, nft returns 139 (i.e, segmentation fault) which
Packit c5a612
# indicates the bug but after the commit it returns 1.
Packit c5a612
Packit c5a612
$NFT add table t
Packit c5a612
$NFT add set t c
Packit c5a612
Packit c5a612
ret=$?
Packit c5a612
if [ $ret -ne 1 ] ;
Packit c5a612
then
Packit c5a612
	echo "E: returned $ret instead of 1" >&2
Packit c5a612
	exit 1
Packit c5a612
fi
Packit c5a612