view usr/src/cmd/mdb/test/typedef/tst.models.ksh @ 14143:42d090a37218

3089 want ::typedef 3690 mdb on x86 should be able to print alternate register names 3688 Want mdb -e 3094 libctf should support removing a dynamic type 3095 libctf does not validate arrays correctly 3096 libctf does not validate function types correctly 3689 Want an mdb test suite driver Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
author Robert Mustacchi <rm@joyent.com>
date Wed, 03 Apr 2013 15:25:37 -0700
parents
children
line wrap: on
line source

lp64m="lp64 Lp64 LP64 lP64"
lp32m="lp32 Lp32 LP32 lP32"
ilp32m="ilp32 ilP32 iLp32 iLP32 Ilp32 IlP32 ILp32 ILP32"
for m in $lp64m $lp32m $ilp32m; do
	$MDB -e "::typedef -c $m"
	if [[ ! $? -eq 0 ]]; then
		echo "failed to create model $m" 2>&1
		exit 1
	fi
done
exit 0