#1059247 stressant: crashes not finding /usr/share/doc/fio/examples/basic-verify.fio

#1059247#5
Date:
2023-12-22 04:11:45 UTC
From:
To:
Dear Maintainer,

Decided to try stressant on a freshly installed debian box.  But it crashed with

	yoh@reproiner:~$ stressant --cpu
	...
	INFO: Disk stress test
	Traceback (most recent call last):
	  File "/usr/bin/stressant", line 491, in <module>
	    main()
	  File "/usr/bin/stressant", line 479, in main
	    testDrive(**vars(args))
	  File "/usr/bin/stressant", line 401, in testDrive
	    with open(jobFile, 'rb') as source:
		 ^^^^^^^^^^^^^^^^^^^
	FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/doc/fio/examples/basic-verify.fio'

only with apt-file I saw that there is also fio-examples that is only Suggests-ed by fio on which stressant depends.

So it seems that stressant might need to Depend on fio-examples

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***