Skip to content

Commit

Permalink
Improve formatting on tape files
Browse files Browse the repository at this point in the history
  • Loading branch information
denisonbarbosa committed Nov 29, 2023
1 parent ba15942 commit 0b5edd5
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 9 deletions.
6 changes: 5 additions & 1 deletion pam/integration-tests/testdata/tapes/form_with_button.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output form_with_button.txt
Output form_with_button.gif
Output form_with_button.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
6 changes: 5 additions & 1 deletion pam/integration-tests/testdata/tapes/local_broker.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output local_broker.txt
Output local_broker.gif
Output local_broker.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output mandatory_password_reset.txt
Output mandatory_password_reset.gif
Output mandatory_password_reset.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
6 changes: 5 additions & 1 deletion pam/integration-tests/testdata/tapes/max_attempts.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output max_attempts.txt
Output max_attempts.gif
Output max_attempts.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
7 changes: 5 additions & 2 deletions pam/integration-tests/testdata/tapes/mfa_auth.tape
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
Output mfa_auth.gif
Output mfa_auth.txt
Output frames/
Output mfa_auth.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output optional_password_reset.txt
Output optional_password_reset.gif
Output optional_password_reset.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
4 changes: 4 additions & 0 deletions pam/integration-tests/testdata/tapes/remember_auth_mode.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output remember_auth_mode.txt
Output remember_auth_mode.gif

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
6 changes: 5 additions & 1 deletion pam/integration-tests/testdata/tapes/simple_auth.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output simple_auth.txt
Output simple_auth.gif
Output simple_auth.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down
6 changes: 5 additions & 1 deletion pam/integration-tests/testdata/tapes/switch_auth_mode.tape
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Output switch_auth_mode.txt
Output switch_auth_mode.gif
Output switch_auth_mode.gif # If we don't specify a .gif output, it will create a default out.gif file.

# Configuration header to standardize the output.
# Does not work with the "Source" command.
Set Width 1800
Set Height 800
Set FontFamily "Ubuntu Mono"
Set FontSize 20
Set Padding 0
Set Margin 0
Set Shell bash

Hide
Type "./pam_authd socket=/tmp/authd.sock"
Enter
Expand Down

0 comments on commit 0b5edd5

Please sign in to comment.