Skip to content

Commit

Permalink
tests: change a list of groups for the localized group names
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Bolshakov committed Nov 21, 2014
1 parent 762cab6 commit 4af5837
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var exec = require("child_process").exec

exec("id", function (code, output) {
if (code) throw new Error("failed to run 'id' command")
groups = output.trim().split("groups=")[1].split(",").map(function (s) {
groups = output.trim().split("=")[3].split(",").map(function (s) {
return parseInt(s, 10)
}).filter(function (g) {
return g !== curGid
Expand Down
2 changes: 1 addition & 1 deletion test/symlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var exec = require("child_process").exec

exec("id", function (code, output) {
if (code) throw new Error("failed to run 'id' command")
groups = output.trim().split("groups=")[1].split(",").map(function (s) {
groups = output.trim().split("=")[3].split(",").map(function (s) {
return parseInt(s, 10)
}).filter(function (g) {
return g !== curGid
Expand Down
2 changes: 1 addition & 1 deletion test/symlink_sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var exec = require("child_process").exec

exec("id", function (code, output) {
if (code) throw new Error("failed to run 'id' command")
groups = output.trim().split("groups=")[1].split(",").map(function (s) {
groups = output.trim().split("=")[3].split(",").map(function (s) {
return parseInt(s, 10)
}).filter(function (g) {
return g !== curGid
Expand Down
2 changes: 1 addition & 1 deletion test/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var exec = require("child_process").exec

exec("id", function (code, output) {
if (code) throw new Error("failed to run 'id' command")
groups = output.trim().split("groups=")[1].split(",").map(function (s) {
groups = output.trim().split("=")[3].split(",").map(function (s) {
return parseInt(s, 10)
}).filter(function (g) {
return g !== curGid
Expand Down

0 comments on commit 4af5837

Please sign in to comment.