summaryrefslogtreecommitdiff
path: root/tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2013-07-27 18:38:24 +0200
committerChristian Perrier <bubulle@debian.org>2013-07-27 18:38:24 +0200
commit5e7263d5769fdec5cdc9fd8a9e73611c14714edd (patch)
tree113e8de082a356ec4bf1b4f1fb1518a5155d9874 /tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp
parent03e6eeb8bb4697fa0e488fabcf507f907f244925 (diff)
downloadshadow-debian.tar.gz
Drop tests/ from the debian branchdebian
Diffstat (limited to 'tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp')
-rwxr-xr-xtests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp b/tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp
deleted file mode 100755
index 7e544151..00000000
--- a/tests/cktools/grpck/18_grpck_duplicate_entry_group_no_changes/grpck.exp
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/expect
-
-set timeout 2
-expect_after default {puts "\nFAIL"; exit 1}
-
-spawn /bin/sh
-send "if \[ \$(id -u) -eq 0 \]; then PS1='# '; else PS1='$ '; fi\r"
-expect "# "
-
-send "grpck\r"
-expect "duplicate group entry"
-expect "delete line 'foo:x:1000:daemon'? "
-send "no\r"
-expect "'daemon' is a member of the 'foo' group in /etc/group but not in /etc/gshadow"
-expect "duplicate group entry"
-expect "delete line 'foo:x:1000:bin'? "
-send "no \r"
-expect "grpck: no changes"
-expect "# "
-send "echo \$?\r"
-expect "2"
-send "exit\r"
-puts "OK\n"
-exit 0