mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/taskserver: Rename nixos-taskdctl
Using nixos-taskserver is more verbose but less cryptic and I think it fits the purpose better because it can't be confused to be a wrapper around the taskdctl command from the upstream project as nixos-taskserver shares no commonalities with it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
78925e4a90
commit
2d89617052
3 changed files with 11 additions and 10 deletions
|
@ -50,7 +50,7 @@ import ./make-test.nix {
|
|||
);
|
||||
|
||||
my $exportinfo = $server->succeed(
|
||||
"nixos-taskdctl export-user $org $user"
|
||||
"nixos-taskserver export-user $org $user"
|
||||
);
|
||||
|
||||
$exportinfo =~ s/'/'\\'''/g;
|
||||
|
@ -70,9 +70,9 @@ import ./make-test.nix {
|
|||
$server->waitForUnit("taskserver.service");
|
||||
|
||||
$server->succeed(
|
||||
"nixos-taskdctl list-users testOrganisation | grep -qxF alice",
|
||||
"nixos-taskdctl list-users testOrganisation | grep -qxF foo",
|
||||
"nixos-taskdctl list-users anotherOrganisation | grep -qxF bob"
|
||||
"nixos-taskserver list-users testOrganisation | grep -qxF alice",
|
||||
"nixos-taskserver list-users testOrganisation | grep -qxF foo",
|
||||
"nixos-taskserver list-users anotherOrganisation | grep -qxF bob"
|
||||
);
|
||||
|
||||
$server->waitForOpenPort(${portStr});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue