mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 14:41:24 +01:00
Fix tests during nix build
This commit is contained in:
parent
388f4726c8
commit
a53412a1f9
3 changed files with 3 additions and 6 deletions
|
|
@ -64,7 +64,7 @@ let test_run_process_stdout = () =>
|
||||||
let test_hash_one = () => {
|
let test_hash_one = () => {
|
||||||
check_result_string(
|
check_result_string(
|
||||||
"Hash matches",
|
"Hash matches",
|
||||||
Ok("32b4ac64be805d730745f6bac45a5d95174ebd10"),
|
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
|
||||||
hash_files([|"spit_version.sh"|]),
|
hash_files([|"spit_version.sh"|]),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
@ -72,7 +72,7 @@ let test_hash_one = () => {
|
||||||
let test_hash_multiple = () => {
|
let test_hash_multiple = () => {
|
||||||
check_result_string(
|
check_result_string(
|
||||||
"Hash matches",
|
"Hash matches",
|
||||||
Ok("e4c880fc6ab9a1b88e6be18e53fc4cec9f463d1a"),
|
Ok("f109b7892a541ed1e3cf39314cd25d21042b984f"),
|
||||||
hash_files([|"spit_version.sh", "spit_version.sh"|]),
|
hash_files([|"spit_version.sh", "spit_version.sh"|]),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
@ -80,7 +80,7 @@ let test_hash_multiple = () => {
|
||||||
let test_hash_filters_nonexistent = () => {
|
let test_hash_filters_nonexistent = () => {
|
||||||
check_result_string(
|
check_result_string(
|
||||||
"Hash matches",
|
"Hash matches",
|
||||||
Ok("32b4ac64be805d730745f6bac45a5d95174ebd10"),
|
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
|
||||||
hash_files([|"spit_version.sh", "FOOBARBAZ"|]),
|
hash_files([|"spit_version.sh", "FOOBARBAZ"|]),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
echo "sdlfkjdsfweiojlsjslfj.dofiwoksdj/sfowiefjw0";
|
echo "sdlfkjdsfweiojlsjslfj.dofiwoksdj/sfowiefjw0";
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
echo "1.1.1";
|
echo "1.1.1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue