b5da077ddf01546c4a85688624d6957766d6c00cMichal Schmidt# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
b5da077ddf01546c4a85688624d6957766d6c00cMichal Schmidt# ex: ts=8 sw=4 sts=4 et filetype=sh
41a5ef639b248aa3d10609d9af5d0043b909d93cHarald Hoyer [[ -f $TESTDIR/root/failed ]] && cp -a $TESTDIR/root/failed $TESTDIR
41a5ef639b248aa3d10609d9af5d0043b909d93cHarald Hoyer [[ -f $TESTDIR/failed ]] && cat $TESTDIR/failed
b5da077ddf01546c4a85688624d6957766d6c00cMichal Schmidt # Create what will eventually be our root filesystem onto an overlay
b5da077ddf01546c4a85688624d6957766d6c00cMichal Schmidt eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
b5da077ddf01546c4a85688624d6957766d6c00cMichal Schmidt cat >$initdir/etc/systemd/system/testsuite.service <<EOF
b5da077ddf01546c4a85688624d6957766d6c00cMichal SchmidtDescription=Testsuite service
b5da077ddf01546c4a85688624d6957766d6c00cMichal SchmidtAfter=multi-user.target
b5da077ddf01546c4a85688624d6957766d6c00cMichal SchmidtExecStart=/test-jobs.sh