If all you want to do is test out what happens when disk space is running out use quotas. Just make a new user and give him a quota entry of like 5 MB or so. When he runs the installer he will run out of disk space (assuming your install is big).