Sam James 29309f5913 tests: replace egrep -> grep -E
"egrep" is an obsolete alias for grep -E and newer greps will warn on usage
of egrep, so let's just swap it out.

Signed-off-by: Sam James <sam@gentoo.org>
2022-05-15 17:36:08 -05:00
..
2021-12-06 01:41:17 +09:00
2021-12-06 01:41:17 +09:00
2022-05-15 17:36:08 -05:00
2020-03-17 17:09:26 -04:00
2022-05-15 17:36:08 -05:00
2017-10-22 20:54:42 +00:00
2021-12-06 01:41:17 +09:00
2017-10-22 18:44:58 +00:00
2021-12-06 01:41:17 +09:00
2021-12-06 01:41:17 +09:00
2017-10-22 20:41:18 +00:00
2021-12-06 01:41:17 +09:00
2021-12-27 09:27:44 -06:00
2021-12-27 09:27:44 -06:00
2021-12-06 01:41:17 +09:00
2017-10-22 21:03:28 +00:00
2021-12-06 01:41:17 +09:00
2022-05-15 17:36:08 -05:00
2021-12-06 01:41:17 +09:00
2021-12-06 01:41:17 +09:00
2017-10-22 21:28:58 +00:00
2014-09-21 00:17:24 +02:00
2014-09-17 14:42:55 -05:00
2021-08-18 18:07:50 +00:00

This testsuite is NOT SECURE: it will temporarily change your passwords file
with known passwords.
You should run it on a chroot, or on a secured dedicated system.



To test a Debian system:
	$ mkdir sid-chroot
	$ sudo debootstrap sid sid-chroot/ http://deb.debian.org/debian/
edit or copy a sources.list
	$ sudo cp /etc/apt/sources.list sid-chroot/etc/apt/
edit or copy a resolv.conf
	$ sudo cp /etc/resolv.conf sid-chroot/etc/
	$ su - root -c "chroot sid-chroot/ /bin/bash"
	# mount -t proc proc /proc
	# mount -t devpts devpts /dev/pts
	# aptitude update
	# aptitude install expect
	# cd /dev ; mknod --mode=666 /dev/ptmx c 5 2