T1551.003-test-7 (#1078)

Co-authored-by: Toua Lor <tlor@nti.local>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
tlor89
2020-06-25 11:30:38 -05:00
committed by GitHub
parent dc29554da6
commit 3f732992ec
+13
View File
@@ -67,4 +67,17 @@ atomic_tests:
unset HISTFILE
export HISTFILESIZE=0
history -c
name: sh
- name: Clear and Disable Bash History Logging
description: |
Clears the history and disable bash history logging of the current shell and future shell sessions
supported_platforms:
- linux
- macos
executor:
command: |
set +o history
echo 'set +o history' >> ~/.bashrc
. ~/.bashrc
history -c
name: sh