anchor.diff:                # Realise test. First a bash derivation file is instantiated,
                 # then it is realised. This test should succeed.
                 
  -              my $result = $server->mustSucceed("nix-instantiate ${nixpkgs} -A bash");
  +              $result = $server->mustSucceed("nix-instantiate ${nixpkgs} -A bash");
                 $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --realise $result");
                 
                 # Export test. Exports the closure of the bash shell on the server
                 # and then imports it on the client. This test should succeed (BROKEN).
                 
  -              #my $result = $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --export --remotefile ${pkgs.bash}");
  +              #$result = $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --export --remotefile ${pkgs.bash}");
                 #$client->mustSucceed("nix-store --import < $result");
                 
                 # Import test. First we create a manifest, then we take the
  
positive.code:               # Unlock test. This test should fail as the lock has already been released.
                $client->mustFail("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --unlock");
                
                # Use the echo type to activate a service.
                # We use the testService1 service defined in the manifest.
                # This test should succeed.
                
                my @testService1 = grep(/\-testService1/, @manifestClosure);
                $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --activate --arguments foo=foo --arguments bar=bar --type echo @testService1");
                
                # Deactivate the same service using the echo type. This test should succeed.
  
negative.code:               # which should return nothing in this case.
                # This test should succeed.
                
                $result = $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --print-invalid ${pkgs.bash}");
                
                # Query requisites test. Queries the requisites of the bash shell
                # and checks whether it is part of the closure.
                # This test should succeed.
                
                $result = $client->mustSucceed("disnix-soap-client --target http://server:8080/DisnixWebService/services/DisnixWebService --query-requisites ${pkgs.bash}");
                
                if($result =~ /bash/) {
                    print "${pkgs.bash} is in the closure\n";
  