[libvirt] [PATCH 2/3] tests: virnetdaemon: Replace tabs with spaces

Erik Skultety eskultet at redhat.com
Thu Apr 21 10:41:22 UTC 2016


We already did this once, but somehow commit 252610f7 managed to bring the tabs
back again.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 .../input-data-admin-server-names.json             | 204 +++++++++----------
 .../output-data-no-keepalive-required.json         | 224 ++++++++++-----------
 2 files changed, 214 insertions(+), 214 deletions(-)

diff --git a/tests/virnetdaemondata/input-data-admin-server-names.json b/tests/virnetdaemondata/input-data-admin-server-names.json
index 94fba61..3afe16f 100644
--- a/tests/virnetdaemondata/input-data-admin-server-names.json
+++ b/tests/virnetdaemondata/input-data-admin-server-names.json
@@ -1,8 +1,8 @@
 {
     "servers":
     {
-	"testServer0":
-	{
+    "testServer0":
+    {
             "min_workers": 10,
             "max_workers": 50,
             "priority_workers": 5,
@@ -11,60 +11,60 @@
             "keepaliveCount": 5,
             "keepaliveRequired": true,
             "services": [
-		{
-		    "auth": 0,
-		    "readonly": true,
-		    "nrequests_client_max": 2,
-		    "socks": [
-			{
-			    "fd": 100,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		},
-		{
-		    "auth": 2,
-		    "readonly": false,
-		    "nrequests_client_max": 5,
-		    "socks": [
-			{
-			    "fd": 101,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		}
+        {
+            "auth": 0,
+            "readonly": true,
+            "nrequests_client_max": 2,
+            "socks": [
+            {
+                "fd": 100,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        },
+        {
+            "auth": 2,
+            "readonly": false,
+            "nrequests_client_max": 5,
+            "socks": [
+            {
+                "fd": 101,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        }
             ],
             "clients": [
-		{
-		    "auth": 1,
-		    "readonly": true,
-		    "nrequests_max": 15,
-		    "sock": {
-			"fd": 102,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		},
-		{
-		    "auth": 2,
-		    "readonly": true,
-		    "nrequests_max": 66,
-		    "sock": {
-			"fd": 103,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		}
+        {
+            "auth": 1,
+            "readonly": true,
+            "nrequests_max": 15,
+            "sock": {
+            "fd": 102,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        },
+        {
+            "auth": 2,
+            "readonly": true,
+            "nrequests_max": 66,
+            "sock": {
+            "fd": 103,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        }
             ]
-	},
-	"testServer1":
-	{
+    },
+    "testServer1":
+    {
             "min_workers": 2,
             "max_workers": 50,
             "priority_workers": 5,
@@ -73,57 +73,57 @@
             "keepaliveCount": 5,
             "keepaliveRequired": true,
             "services": [
-		{
-		    "auth": 0,
-		    "readonly": true,
-		    "nrequests_client_max": 2,
-		    "socks": [
-			{
-			    "fd": 100,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		},
-		{
-		    "auth": 2,
-		    "readonly": false,
-		    "nrequests_client_max": 5,
-		    "socks": [
-			{
-			    "fd": 101,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		}
+        {
+            "auth": 0,
+            "readonly": true,
+            "nrequests_client_max": 2,
+            "socks": [
+            {
+                "fd": 100,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        },
+        {
+            "auth": 2,
+            "readonly": false,
+            "nrequests_client_max": 5,
+            "socks": [
+            {
+                "fd": 101,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        }
             ],
             "clients": [
-		{
-		    "auth": 1,
-		    "readonly": true,
-		    "nrequests_max": 15,
-		    "sock": {
-			"fd": 102,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		},
-		{
-		    "auth": 2,
-		    "readonly": true,
-		    "nrequests_max": 66,
-		    "sock": {
-			"fd": 103,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		}
+        {
+            "auth": 1,
+            "readonly": true,
+            "nrequests_max": 15,
+            "sock": {
+            "fd": 102,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        },
+        {
+            "auth": 2,
+            "readonly": true,
+            "nrequests_max": 66,
+            "sock": {
+            "fd": 103,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        }
             ]
-	}
+    }
     }
 }
diff --git a/tests/virnetdaemondata/output-data-no-keepalive-required.json b/tests/virnetdaemondata/output-data-no-keepalive-required.json
index a8ba828..4c28a4c 100644
--- a/tests/virnetdaemondata/output-data-no-keepalive-required.json
+++ b/tests/virnetdaemondata/output-data-no-keepalive-required.json
@@ -1,6 +1,6 @@
 {
     "servers": {
-	"testServer0": {
+    "testServer0": {
             "min_workers": 10,
             "max_workers": 50,
             "priority_workers": 5,
@@ -8,119 +8,119 @@
             "keepaliveInterval": 120,
             "keepaliveCount": 5,
             "services": [
-		{
-		    "auth": 0,
-		    "readonly": true,
-		    "nrequests_client_max": 2,
-		    "socks": [
-			{
-			    "fd": 100,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		},
-		{
-		    "auth": 2,
-		    "readonly": false,
-		    "nrequests_client_max": 5,
-		    "socks": [
-			{
-			    "fd": 101,
-			    "errfd": -1,
-			    "pid": 0,
-			    "isClient": false
-			}
-		    ]
-		}
+        {
+            "auth": 0,
+            "readonly": true,
+            "nrequests_client_max": 2,
+            "socks": [
+            {
+                "fd": 100,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        },
+        {
+            "auth": 2,
+            "readonly": false,
+            "nrequests_client_max": 5,
+            "socks": [
+            {
+                "fd": 101,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+            }
+            ]
+        }
             ],
             "clients": [
-		{
-		    "auth": 1,
-		    "readonly": true,
-		    "nrequests_max": 15,
-		    "sock": {
-			"fd": 102,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		},
-		{
-		    "auth": 2,
-		    "readonly": true,
-		    "nrequests_max": 66,
-		    "sock": {
-			"fd": 103,
-			"errfd": -1,
-			"pid": -1,
-			"isClient": true
-		    }
-		}
+        {
+            "auth": 1,
+            "readonly": true,
+            "nrequests_max": 15,
+            "sock": {
+            "fd": 102,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        },
+        {
+            "auth": 2,
+            "readonly": true,
+            "nrequests_max": 66,
+            "sock": {
+            "fd": 103,
+            "errfd": -1,
+            "pid": -1,
+            "isClient": true
+            }
+        }
+            ]
+    },
+    "testServer1": {
+        {
+        "min_workers": 2,
+        "max_workers": 50,
+        "priority_workers": 5,
+        "max_clients": 100,
+        "keepaliveInterval": 120,
+        "keepaliveCount": 5,
+        "services": [
+            {
+            "auth": 0,
+            "readonly": true,
+            "nrequests_client_max": 2,
+            "socks": [
+                {
+                "fd": 100,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+                }
             ]
-	},
-	"testServer1": {
-	    {
-		"min_workers": 2,
-		"max_workers": 50,
-		"priority_workers": 5,
-		"max_clients": 100,
-		"keepaliveInterval": 120,
-		"keepaliveCount": 5,
-		"services": [
-		    {
-			"auth": 0,
-			"readonly": true,
-			"nrequests_client_max": 2,
-			"socks": [
-			    {
-				"fd": 100,
-				"errfd": -1,
-				"pid": 0,
-				"isClient": false
-			    }
-			]
-		    },
-		    {
-			"auth": 2,
-			"readonly": false,
-			"nrequests_client_max": 5,
-			"socks": [
-			    {
-				"fd": 101,
-				"errfd": -1,
-				"pid": 0,
-				"isClient": false
-			    }
-			]
-		    }
-		],
-		"clients": [
-		    {
-			"auth": 1,
-			"readonly": true,
-			"nrequests_max": 15,
-			"sock": {
-			    "fd": 102,
-			    "errfd": -1,
-			    "pid": -1,
-			    "isClient": true
-			}
-		    },
-		    {
-			"auth": 2,
-			"readonly": true,
-			"nrequests_max": 66,
-			"sock": {
-			    "fd": 103,
-			    "errfd": -1,
-			    "pid": -1,
-			    "isClient": true
-			}
-		    }
-		]
-	    }
-	}
+            },
+            {
+            "auth": 2,
+            "readonly": false,
+            "nrequests_client_max": 5,
+            "socks": [
+                {
+                "fd": 101,
+                "errfd": -1,
+                "pid": 0,
+                "isClient": false
+                }
+            ]
+            }
+        ],
+        "clients": [
+            {
+            "auth": 1,
+            "readonly": true,
+            "nrequests_max": 15,
+            "sock": {
+                "fd": 102,
+                "errfd": -1,
+                "pid": -1,
+                "isClient": true
+            }
+            },
+            {
+            "auth": 2,
+            "readonly": true,
+            "nrequests_max": 66,
+            "sock": {
+                "fd": 103,
+                "errfd": -1,
+                "pid": -1,
+                "isClient": true
+            }
+            }
+        ]
+        }
+    }
     }
 }
-- 
2.4.11




More information about the libvir-list mailing list