xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit 4b27f038515b64bc9972cd44537836d3d0d87b06

Adding test plan for escaped characters.
Author: Martin Dvorak
Author date (UTC): 2014-04-12 05:37
Committer name: Martin Dvorak
Committer date (UTC): 2014-04-12 05:37
Parent(s): 5194cdf8b909623199d4e50288014fcdefaeaa85
Signing key:
Tree: 19998bd31441133381d8c99187e37834b59ea321
File Lines added Lines deleted
tests/src/test_escape_chars.c 27 0
File tests/src/test_escape_chars.c added (mode: 100644) (index 0000000..e8bdee5)
1 /*
2 ============================================================================
3 Name : test_escape_chars.c
4 Author : martin.dvorak@mindforger.com
5 Copyright : Apache 2.0
6 Description : A test for verification of escape/special chars handling
7 ============================================================================
8 */
9
10 void generate_bash_history_with_special_chars() {
11 /*
12 // crash
13 %s
14
15 // substituation > should not happen:
16 date -d yesterday +%A
17 date -d yesterday +0X1.4C41E000008P-895
18
19 // crash
20 mocp -Q "<%state> '%file'\n"
21 */
22 }
23
24 void main() {
25 generate_bash_history_with_special_chars();
26 }
27
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master