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 e7f1b4e commit ac609ccCopy full SHA for ac609cc
tests/syscall/xattr/xattr.bats
@@ -172,3 +172,16 @@ function teardown() {
172
173
rm -rf /mnt/scratch/test
174
}
175
+
176
+@test "l*xattr high-util: nixos use-case" {
177
178
+ # Deploy a sys container with nixos tooling pre-installed.
179
+ local syscont=$(docker_run --rm ${CTR_IMG_REPO}/ubuntu-bionic-nixos:latest tail -f /dev/null)
180
181
+ # Verify that 'ripgrep' app is properly installed -- usually takes ~ 1.5 mins.
182
+ docker exec "$syscont" bash -c "source ~/.nix-profile/etc/profile.d/nix.sh && nix-env -i ripgrep"
183
+ [ "$status" -eq 0 ]
184
+ [[ "$output" =~ "created 39 symlinks in user environment" ]]
185
186
+ docker_stop "$syscont"
187
+}
0 commit comments