We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe40ea7 commit 1f102a2Copy full SHA for 1f102a2
test/tailscale/tailscale_operator.sh
@@ -0,0 +1,12 @@
1
+#!/usr/bin/env bash
2
+# Copyright (c) 2025 Tailscale Inc & AUTHORS All rights reserved.
3
+# Use of this source code is governed by a BSD-style
4
+# license that can be found in the LICENSE file.
5
+
6
+set -e
7
8
+source dev-container-features-test-lib
9
10
+check "operator flag is set" bash -c "pgrep -f '\--operator=$(id -un)' | grep tailscaled"
11
12
+reportResults
test/tailscale/test.sh
@@ -13,4 +13,6 @@ if [[ -n "$VERSION" ]]; then
13
check "version is correct" bash -c "tailscale version --daemon | grep -q $VERSION"
14
fi
15
16
-reportResults
+check "operator flag is not set" bash -c "! pgrep -f '--operator=$(id -un)'"
17
18
0 commit comments