#hmmm: why all the hard-coded paths below?
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
-test_or_fail "creating swap file"
+test_or_die "creating swap file"
/bin/chmod 600 /var/swap.1
-test_or_fail "setting swap file permissions"
+test_or_die "setting swap file permissions"
/sbin/mkswap /var/swap.1
-test_or_fail "formatting swap file as swap partition"
+test_or_die "formatting swap file as swap partition"
/sbin/swapon /var/swap.1
-test_or_fail "enabling new swap partition"
+test_or_die "enabling new swap partition"
free