Comment 2 for bug 1876688

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

For the correct way, we can use the following code in the control.ubuntu file from them, there is a paragraph of:
  # For right now, all of our (Ubuntu) testing makes use of a single,
  # scratch device.
  #
  if 'UBUNTU_SCRATCH_DEVICE' in argdict:
      device = argdict['UBUNTU_SCRATCH_DEVICE']
  else:
      device = '/dev/sdb'

Maybe we can use this to determine if a test needs a scratch drive.