Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
04704d16
Commit
04704d16
authored
4 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
more tests
parent
b67684d8
No related branches found
No related tags found
1 merge request
!69
WIP: Upgrade to OpenSSL 1.1.1k
Pipeline
#353
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
nixos/unit-tests.nix
+3
-3
3 additions, 3 deletions
nixos/unit-tests.nix
with
3 additions
and
3 deletions
nixos/unit-tests.nix
+
3
−
3
View file @
04704d16
# The overall unit test suite for PrivateStorageio NixOS configuration.
# The overall unit test suite for PrivateStorageio NixOS configuration.
let
let
pkgs
=
import
<
nixpkgs
>
{
};
pkgs
=
import
<
nixpkgs
>
{
};
pspkgs
=
pkgs
.
callPackage
./modules/pspkgs.nix
{
};
# Total the numbers in a list.
# Total the numbers in a list.
sum
=
builtins
.
foldl
'
(
a
:
b
:
a
+
b
)
0
;
sum
=
builtins
.
foldl
'
(
a
:
b
:
a
+
b
)
0
;
...
@@ -10,10 +11,9 @@ let
...
@@ -10,10 +11,9 @@ let
testModules
=
testModules
=
[
(
import
./lib/tests/test_ini.nix
(
pkgs
.
callPackage
./lib/ini.nix
{
}))
[
(
import
./lib/tests/test_ini.nix
(
pkgs
.
callPackage
./lib/ini.nix
{
}))
(
import
./lib/tests/test_openssl.nix
pkgs
.
openssl
)
(
import
./lib/tests/test_openssl.nix
pkgs
.
openssl
)
(
import
./lib/tests/test_openssl.nix
pspkgs
.
openssl
)
(
import
./lib/tests/test_packages.nix
{
inherit
pkgs
;
})
(
import
./lib/tests/test_packages.nix
{
inherit
pkgs
;
})
(
import
./lib/tests/test_pspackages.nix
{
(
import
./lib/tests/test_pspackages.nix
{
inherit
pspkgs
;
})
pspkgs
=
pkgs
.
callPackage
./modules/pspkgs.nix
{
};
})
];
];
# Count up the tests we're going to run.
# Count up the tests we're going to run.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment