Skip to content

Commit

Permalink
hh2hstr fixing tests #309
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Aug 26, 2018
1 parent d9f190c commit 1dbfdb4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/depcomp
/install-sh
/missing
/src/hstr
/src/hh
.deps/
Makefile
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ script:
- cd build/tarball && ./tarball-automake.sh
- cd "${HSTRHOME}"
- ./configure && make
- cd src && ./hh --version
- cd src && ./hstr --version
- echo "2) run unit tests"
- cd "${HSTRHOME}"
- cd build && ./test-units.sh
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ hstr_SOURCES = \
#install-exec-hook:
# ln $(DESTDIR)$(bindir)/hstr$(EXEEXT) $(DESTDIR)$(bindir)/hh$(EXEEXT)

hh_LDADD = $(NCURSES_LIBS)
hstr_LDADD = $(NCURSES_LIBS)
6 changes: 3 additions & 3 deletions test/test-bug-124.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

export HH_CONFIG=hicolor
export HSTR_CONFIG=hicolor
export HISTFILE=/tmp/hstr-bug-124

cp -vf ~/p/hstr/.bash_history_bug_124 ${HISTFILE}

#cd ~/p/hstr/github/hstr/Debug && gdbserver :9999 ./hh
#cd ~/p/hstr/github/hstr/Debug && ./hh
#cd ~/p/hstr/github/hstr/Debug && gdbserver :9999 ./hstr
#cd ~/p/hstr/github/hstr/Debug && ./hstr

# eof
6 changes: 3 additions & 3 deletions test/test-bug-163.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

export HH_CONFIG=hicolor,regexp
export HISTFILE=/tmp/hh-bug-163
export HSTR_CONFIG=hicolor,regexp
export HISTFILE=/tmp/hstr-bug-163

cp -vf ~/p/hstr/.bash_history_bug_163 ${HISTFILE}

#cd ~/p/hstr/github/hstr && gdbserver :9999 ./hh
#cd ~/p/hstr/github/hstr && gdbserver :9999 ./hstr
cd ~/p/hstr/github/hstr && ./hstr

# eof
4 changes: 2 additions & 2 deletions test/test-bug-176.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

export HH_CONFIG=hicolor
export HISTFILE=/tmp/hh-bug-176
export HSTR_CONFIG=hicolor
export HISTFILE=/tmp/hstr-bug-176

cp -vf ~/p/hstr/github/hstr/tests/resources/.bash_history_BUG_176 ${HISTFILE}

Expand Down

0 comments on commit 1dbfdb4

Please sign in to comment.