Skip to content

Commit ede4c48

Browse files
committed
outputs: rework the test to run outside the shell
1 parent 67e9dbe commit ede4c48

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

tests/outputs/.test-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use_shell: false

tests/outputs/.test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -x
4+
5+
devenv build | grep -E '(myapp1|git|myapp2|hello)'
6+
7+
devenv build myapp2.package | grep myapp2

tests/outputs/devenv.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
};
1515
};
1616
config = {
17-
enterTest = ''
18-
devenv build | grep -E '(myapp1|git|myapp2|hello)'
19-
devenv build myapp2.package | grep myapp2
20-
'';
2117
outputs = {
2218
myproject.git = pkgs.git;
2319
hello = pkgs.hello;

0 commit comments

Comments
 (0)