fix.test-luksmeta.patch 482 B

12345678910111213141516171819
  1. Description: Work around test-luksmeta fail when running as non-root
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Date: 2019-03-01
  4. Forwarded: no
  5. The cryptsetup luksFormat program now fails when running as
  6. non-root, see #923513
  7. --- a/test-luksmeta
  8. +++ b/test-luksmeta
  9. @@ -11,7 +11,7 @@
  10. trap 'onexit' EXIT
  11. truncate -s 4M $tmp
  12. -echo -n foo | cryptsetup luksFormat $tmp -
  13. +echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
  14. ! ./luksmeta test -d $tmp