1
0

local.test-luksmeta.patch 501 B

12345678910111213141516171819
  1. Description: Qualify cryptsetup in the test suite
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Date: 2017-08-31
  4. Forwarded: not-needed
  5. As cryptsetup is not available in PATH for non-root, qualify the
  6. invocation accordingly.
  7. --- a/test-luksmeta
  8. +++ b/test-luksmeta
  9. @@ -14,7 +14,7 @@
  10. trap 'onexit' EXIT
  11. truncate -s 4M $tmp
  12. -echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
  13. +echo -n foo | /usr/sbin/cryptsetup luksFormat --type luks1 $tmp -
  14. ! ./luksmeta test -d $tmp