File: local.test-luksmeta.patch

package info (click to toggle)
luksmeta 10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ansic: 1,497; sh: 141; makefile: 88
file content (19 lines) | stat: -rw-r--r-- 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Qualify cryptsetup in the test suite
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date: 2017-08-31
Forwarded: not-needed

    As cryptsetup is not available in PATH for non-root, qualify the
    invocation accordingly.

--- a/test-luksmeta
+++ b/test-luksmeta
@@ -14,7 +14,7 @@
 trap 'onexit' EXIT
 
 truncate -s 4M $tmp
-echo -n foo | cryptsetup luksFormat --type luks1 $tmp -
+echo -n foo | /usr/sbin/cryptsetup luksFormat --type luks1 $tmp -
 
 ! ./luksmeta test -d $tmp