carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package host
2
3import (
4 "strings"
5 "testing"
6)
7
8func TestHostClaimParkedTmpfiles(t *testing.T) {
9 line := "d /data/.parked 2770 " + serviceUser + " " + serviceUser + " -\n"
10 if strings.Count(tmpfilesConf, line) != 1 {
11 t.Fatal("parked directory missing or duplicated")
12 }
13}
14