Skip to content

Commit

Permalink
Fixing mkrc-one-dotfile-arg test to address new allowed args
Browse files Browse the repository at this point in the history
mkrc-one-dotfile-arg.t is now more resilient to changes in help text
  • Loading branch information
alexg0 authored and mike-burns committed Mar 4, 2022
1 parent 729903d commit 3e2ac54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ([2.69])
AC_INIT(rcm, 1.3.4, mburns@thoughtbot.com)
AC_INIT([rcm],[1.3.4],[mburns@thoughtbot.com])
AM_INIT_AUTOMAKE([subdir-objects])

# /bin/sh on Solaris is not POSIX, so try to find another one.
Expand All @@ -11,4 +11,5 @@ solaris*)
esac
AC_SUBST([SHELL])

AC_OUTPUT(Makefile share/rcm.sh arch/git-PKGBUILD NEWS.md bin/lsrc bin/mkrc bin/rcdn bin/rcup maint/release)
AC_CONFIG_FILES([Makefile share/rcm.sh arch/git-PKGBUILD NEWS.md bin/lsrc bin/mkrc bin/rcdn bin/rcup maint/release])
AC_OUTPUT
2 changes: 1 addition & 1 deletion test/mkrc-one-dotfile-arg.t
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Giving 2 dotfiles dir should result in an error and exit EX_USAGE

$ mkrc -d .dotfiles -d .other-dotfiles rcfile
Only one '-d' option is allowed in mkrc.
Usage: mkrc [-ChSsUuVvqo] [-t TAG] [-d DIR] [-B HOSTNAME] FILES ...
Usage: mkrc * (glob)
see mkrc(1) and rcm(7) for more details
[64]

Expand Down

0 comments on commit 3e2ac54

Please sign in to comment.