Commit Graph

23 Commits

Author SHA1 Message Date
Anna Schumaker 76846ae7d4 Implement xfstests using zsh
This includes our main xfstests.zsh file, and some support scripts for
setting up and running tests on the client

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-10 17:27:53 -05:00
Anna Schumaker 802135201a Create a setup-testdirs.zsh
For creating test directories. This basically does the same thing as
cthon's --mkdirs option, but split out into a file that we control and
can used for other tests

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-09 14:12:21 -05:00
Anna Schumaker c431e216bc cthon.zsh: Move call to install-scripts.zsh
Putting it right after boot gives us nicer looking output if we activate
rdma

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-09 14:09:33 -05:00
Anna Schumaker 942693a659 Create an install-scripts.zsh script
To copy over the things we need on remote machines. I also update
cthon.zsh to copy over a setup script.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-07 13:58:13 -05:00
Anna Schumaker cc6f0a4eea vm.zsh: Various changes
- Change timeouts to 5 seconds
- Add a "restart" command
- Kill any background jobs on exit

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-07 11:32:07 -05:00
Anna Schumaker 36e6838dd3 grub-list.zsh: Remove unused $cmd variable
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:46:22 -05:00
Anna Schumaker 2ecfbe3770 deploypkg.zsh: Boot machines before attempting to deploy
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:46:22 -05:00
Anna Schumaker 2adddd9e9c Create a cthon.zsh script
And a script to color the output. Additionally, I add a patch that goes
on top of the cthon04 git tree so we can test with nconnect

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:46:22 -05:00
Anna Schumaker 6cc073bd87 Create an rdma.zsh command
For controlling remote RDMA devices

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-06 11:05:42 -05:00
Anna Schumaker ab780cd3a8 Remove ssh.zsh and replace with a preexec.zsh script
This script is configured to intercept the `ssh` command and boot the
associated VM

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:49:42 -05:00
Anna Schumaker d059a55b85 colors: Make MODINFO magenta
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:05:43 -05:00
Anna Schumaker 5634d522f9 deploykernel.zsh: Take a list of machines to install on
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:05:43 -05:00
Anna Schumaker 54d5c4784c deploypkg.zsh: Take a list of machines to install on
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:01:40 -05:00
Anna Schumaker 0ca7ac8d86 vm.zsh: Add support for operating on multiple machines in parallel
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-12-02 15:01:40 -05:00
Anna Schumaker 04927311ef Create a deploykernel.zsh script
For building the current kernel and deploying it onto a VM

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker e615a2d36b Create a grub-list.zsh command
For listing the available kernels on the current machine

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker 8a73ed3a61 Create a deploypkg.zsh command
For installing a package created through makepkg onto a remote machine

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker f4a1f40eff Create a wrapper around ssh
To check if we're trying to ssh to a VM so the VM can be booted if it is
off

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker b1fa0acd1f Create a vm.zsh command
With subcommands to boot, reboot, or shutdown machines. Also, output in
color.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-30 13:58:24 -05:00
Anna Schumaker 27245b3c70 Add a script for doing my kconfig walk builds
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-29 12:07:47 -05:00
Anna Schumaker f3f1ed1709 Improve colorizing the makelinux.zsh command and add completions
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-11-29 12:07:16 -05:00
Anna Schumaker 730d42ee7f Add a wrapper around `make`
For building Linux kernels. I pipe the output to a colorizing script to
add some nice colors to the build.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-10-26 09:32:47 -04:00
Anna Schumaker 1a5f6eb872 Initial commit
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-10-20 10:10:01 -04:00