diff --git a/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/chgpasswd.test b/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/chgpasswd.test index 45c26776..7e8894ab 100755 --- a/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/chgpasswd.test +++ b/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/chgpasswd.test @@ -43,10 +43,10 @@ echo -n "Check the group file..." ../../../common/compare_file.pl config/etc/group /etc/group echo "OK" echo -n "Check the shadow file..." -../../../common/compare_file.pl data/shadow /etc/shadow +../../../common/compare_file.pl config/etc/shadow /etc/shadow echo "OK" echo -n "Check the gshadow file..." -../../../common/compare_file.pl config/etc/gshadow /etc/gshadow +../../../common/compare_file.pl data/gshadow /etc/gshadow echo "OK" log_status "$0" "SUCCESS" diff --git a/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/gshadow b/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/gshadow new file mode 100644 index 00000000..03d3b452 --- /dev/null +++ b/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/gshadow @@ -0,0 +1,41 @@ +root:*:: +daemon:*:: +bin:*:: +sys:*:: +adm:*:: +tty:*:: +disk:*:: +lp:test2:: +mail:*:: +news:*:: +uucp:*:: +man:*:: +proxy:*:: +kmem:*:: +dialout:*:: +fax:*:: +voice:*:: +cdrom:*:: +floppy:*:: +tape:*:: +sudo:*:: +audio:*:: +dip:*:: +www-data:*:: +backup:*:: +operator:*:: +list:*:: +irc:*:: +src:*:: +gnats:*:: +shadow:*:: +utmp:*:: +video:*:: +sasl:*:: +plugdev:*:: +staff:*:: +games:*:: +users:*:: +crontab:x:: +Debian-exim:x:: +foo:*:: diff --git a/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/shadow b/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/shadow deleted file mode 100644 index 08fa354c..00000000 --- a/tests/failures/chgpasswd/03_chgpasswd-e_rename_group_failure/data/shadow +++ /dev/null @@ -1,19 +0,0 @@ -root:$1$NBLBLIXb$WUgojj1bNuxWEADQGt1m9.:12991:0:99999:7::: -daemon:*:12977:0:99999:7::: -bin:*:12977:0:99999:7::: -sys:*:12977:0:99999:7::: -sync:*:12977:0:99999:7::: -games:*:12977:0:99999:7::: -man:*:12977:0:99999:7::: -lp:test2:@TODAY@:0:99999:7::: -mail:*:12977:0:99999:7::: -news:*:12977:0:99999:7::: -uucp:*:12977:0:99999:7::: -proxy:*:12977:0:99999:7::: -www-data:*:12977:0:99999:7::: -backup:*:12977:0:99999:7::: -list:*:12977:0:99999:7::: -irc:*:12977:0:99999:7::: -gnats:*:12977:0:99999:7::: -Debian-exim:!:12977:0:99999:7::: -foo:!:12977:0:99999:7:::