<runtime ram="32M" caps="1000" binary="init">

	<events>
		<timeout meaning="failed" sec="30" />
		<log meaning="succeeded">child "sequence" exited with exit value 0</log>
		<log meaning="failed">Error: </log>
	</events>

	<content>
		<rom label="ld.lib.so"/>
		<rom label="libc.lib.so"/>
		<rom label="libm.lib.so"/>
		<rom label="posix.lib.so"/>
		<rom label="sequence"/>
		<rom label="test-libc_pipe"/>
		<rom label="vfs"/>
		<rom label="vfs.lib.so"/>
		<rom label="vfs_pipe.lib.so"/>
	</content>

	<config>
		<parent-provides>
			<service name="ROM"/>
			<service name="PD"/>
			<service name="RM"/>
			<service name="CPU"/>
			<service name="LOG"/>
			<service name="Timer"/>
		</parent-provides>
		<default-route>
			<any-service> <parent/> <any-child/> </any-service>
		</default-route>
		<default caps="256"/>
		<start name="pipes_fs">
			<binary name="vfs"/>
			<provides> <service name="File_system"/> </provides>
			<resource name="RAM" quantum="4M"/>
			<config>
				<vfs> <pipe/> </vfs>
				<default-policy root="/" writeable="yes"/>
			</config>
		</start>
		<start name="sequence">
			<resource name="RAM" quantum="4M"/>
			<config>
				<start name="libc_pipe_local">
					<binary name="test-libc_pipe"/>
					<config>
						<vfs>
							<dir name="dev">
								<log/>
							</dir>
							<dir name="pipe"> <pipe/> </dir>
						</vfs>
						<libc stdout="/dev/log" stderr="/dev/log" pipe="/pipe"/>
					</config>
				</start>
				<start name="libc_pipe_remote">
					<binary name="test-libc_pipe"/>
					<config>
						<vfs>
							<dir name="dev">
								<log/>
							</dir>
							<dir name="pipe"> <fs/> </dir>
						</vfs>
						<libc stdout="/dev/log" stderr="/dev/log" pipe="/pipe"/>
					</config>
				</start>
			</config>
		</start>
	</config>
</runtime>
