tests: configure crfsd to save coredumps

Alex Chiang achiang at hp.com
Wed Apr 9 12:40:09 PDT 2008


Add support for dumping core to generated conf file.

Save conf file to test $outdir so we can see how crfsd was
configured.

Signed-off-by: Alex Chiang <achiang at hp.com>
---
diff -r 993967da7d41 tests/run.sh
--- a/tests/run.sh	Wed Apr 09 13:23:48 2008 -0600
+++ b/tests/run.sh	Wed Apr 09 13:25:22 2008 -0600
@@ -193,8 +193,10 @@ btrfs_volume = $fsfile
 btrfs_volume = $fsfile
 listen_ipv4 = 127.0.0.1
 log_dir = $outdir
+core_dump_dir = $outdir
 verbose_debug_logging = 1
 EOF
+	cp $tmpdir/crfsd.conf $outdir
 	run_check crfsd -c $tmpdir/crfsd.conf
 	if [ $? != 0 ]; then
 		fail "failed to start up crfsd"



More information about the crfs-devel mailing list